memory « jmx « Java Enterprise Q&A





1. Measuring Java execution time, memory usage and cpu load for a code segment    stackoverflow.com

For a particular segment of Java code, I'd like to measure:

  • execution time (most likely thread execution time)
  • memory usage
  • CPU load (specifically attributable to the code segment)
I'm a relative Java novice and am ...

2. Programatically get heap info using jmx with java 5    stackoverflow.com

I am aware of using jconsole to attach to a java process to get memory information. Specifically I'm after getting information on the various memory pools programatically so I can ...

3. how can i generate mail alert/notification if memory consumption in jvm exceeds some thrsold, by using jmx    stackoverflow.com

how to generate mail alerts for the following changes in jvm 1)memory 2) threads 3)db connections by using jmx any help would be useful thanks

4. Disabling Local JMX Connections on JVM    stackoverflow.com

We are writing a java program which keeps a password in memory. Unfortunately, the user can easily use jconsole or jmap to create a heap dump file and open it to ...

5. How do I access memory usage programmatically via JMX?    stackoverflow.com

I'm looking for sample Java JMX code to access the values of JMX attributes from another VM. With JConsole, I have no problem looking at java.lang/Memory/Attributes/HeapMemory How would I get the same information ...

6. Java - Weblogic - JMX : request available free memory on all servers    stackoverflow.com

Once I get a JMX connection to my master weblogic server, how can I retrieve the current available free memory for each of my registered servers ? I have requested the DomainRuntimeServiceMBean ...

7. How to access Memory pool mbeans    stackoverflow.com

I want to access MemoryPool Mbeans through a java program so that I can retrieve the Eden Space, Perm Gen space, CodeCahe, Survior Space statistics during a period of time. How to ...

8. Calculating Application's memory consumption using JMX    stackoverflow.com

I want to write a memory monitoring and notification utility that monitors specific application in JVM. To be clear I am not interested in JVM memory consumption rather I want to ...

9. JMX : Getting Heap Memory Utilization From Server    coderanch.com

Hi, Finally, i got the best place to learn technologies from masters. Firt of all, thanks to the creator of javaranch. Well, i am trying to implement a task. Some servers url i have, where some sites are running. Now, what i need to get the information of used heap memory on some recurring interval, let's say 1 hour. Can somebody ...