[Mondrian] Memory Monitoring - which threshold?

Matt Campbell mkambol at gmail.com
Tue Nov 20 09:56:44 EST 2012


NotificationMemoryMonitor uses MemoryPoolMXBean.setUsageThreshold() to
define the memory threshold for triggering a notification.  Based on the
javadoc for MemoryPoolMXBean, I think usageThreshold  is independent of
whether GC has completed.  There’s another threshold that takes GC into
account, though.  MemoryPoolMXBean.setCollectionUsageThreshold() specifies
a threshold to be checked after recycling unused objects.

This blog post has a nice example of usage threshold vs. collection usage
threshold:
http://techblug.wordpress.com/2011/07/21/detecting-low-memory-in-java-part-2/

Is the intention with Mondrian memory monitoring to notify whenever the
memory threshold exceeded, or just post-garbage collection?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20121120/48084f13/attachment.html 


More information about the Mondrian mailing list