How to measure peak heap memory usage in Java? -
how measure peak heap memory usage in java? memorypoolmxbean keeps track of peak usage per memory pool, not entire heap. , peak heap usage not sum of different heap memory pools.
did think using totalmemory() function runtime class - docs? there free tools visualvm or jstat, example:
jstat -gc <pid> <time> <amount> hope helps.
Comments
Post a Comment