Mendix object cache for local applications

0
I'm trying to decrease the object cache usage for my application and I'm searching a method to see the amount of objects within the mendix cache for local running applications. Mendixcloud apps have the cache tab on the environment which shows this information, But I need to see this locally Analyzing a heap-dump doesn't help me so much also.   Did someone managed this and want to share this?    
asked
1 answers
2

Hi Benjamin,

You can get this information using the Mendix monitoring API - https://docs.mendix.com/refguide6/monitoring-mendix-runtime

Using default settings you can fire a request to localhost:8090 with the following headers

X-M2EE-Authentication: 64encoded password
Content-Type: application/json

and  and the following body

{"action" : "cache_statistics", "params":{} }

Hope this helps,

Andrej

PS: Also read this question https://forum.mendix.com/link/questions/5585 which tells you how to set the M2EE password

answered