On-premise: easy check for application cache

1
Hi all, Is there a sophisticated Mendix Java API service available to check what the current Application Server Cache consists of? So the amount of objects per entity type? This nice feature is available in the Mendix cloud, so I assume there is a good API for it :). Hope somebody can help. I checked the Java API but could not find it. Regards, Ivo
asked
2 answers
3

Hi Ivo,

Here's a module that is able to dump memory contents to the logs. I think you could leverage this directly or at least get some inspiration from it:

https://www.dropbox.com/s/z1dh8f9uae0ahxh/MemoryManagement.mpk?dl=0

answered
4

Hi Ivo,

Does this help you: https://docs.mendix.com/refguide/monitoring-mendix-runtime

See for example part 4 about the cache statistics.

answered