JBoss Community

Re: CPU & RAM Usage API in Java or JBoss

created by Wolf-Dieter Fink in Beginner's Corner - View the full discussion

It wil be difficult and depends to the application, JVM implementation and OS.

If you have no system partitioning the JVM might take 100% CPU.

RAM depends to the OS and the used 32/64JVM.

With 32Bit Windows you are restricted to ~2GB

In case of 64Bit Unix the JVM might accept ~3,6GB Heap setting (depends on the OS) witch is about 4GB in total.

 

The RAM usage is an addition of Heap(-Xmx) PermGenSpace (-XX:MaxPermSize) and the reserved area for Threads.

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community