Use the '
epadmin snapshot statistics' command to collect a sub-set of statistics that are related to shared memory usage. These are discussed in the Help under
Home > EP Commands > epadmin and epdev References > epadmin-statistics.
To enable the collection of statistics relevant to shared memory, run:
epadmin --servicename=<YourNodeName> enable statistics
--statistics="eventbus,eventlog,hash,mutex,native,object,objectmemory"
Once enabled, you may collect regular snapshots of these statistics using the '
epadmin snapshot statistics' command:
epadmin --servicename=<YourNodeName> snapshot statistics
--statistics="eventbus,eventlog,hash,mutex,native,object,objectmemory"
--seconds=10 > stats1.txt
This will collect relevant statistics for a period of 10 seconds, and write them to the file '
stats1.txt'. It is advised to run this collection at regular intervals, so the snapshots can be compared to each other. This should help reveal why shared memory is being exhausted over time.