LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   JVM memory usage is very high on SUSE linux and also on redhat linux, far less on win (https://www.linuxquestions.org/questions/suse-opensuse-60/jvm-memory-usage-is-very-high-on-suse-linux-and-also-on-redhat-linux-far-less-on-win-760666/)

NatureBalances 10-08-2009 07:39 PM

JVM memory usage is very high on SUSE linux and also on redhat linux, far less on win
 
Hi,

I have a java process that I ran on windows, RedhatLinux and Suse linux, the below are the memory usages

Windows 80mb virtual, 80m resident memory
Redhat 1.2Gb, 100mb
Suse 1.2Gb, 850mb

Java Process is started with option Xmx1024m. This process doesn't do lot of activity. It shouldn't consume more than 100mb or at max150mb, not sure why is it taking so much of virtual memory on linux platforms. Especially on Suse both virtual and resident memory are more.

If I set Xmx256m then below are the memory usages

windows 80mb 80mb
Suse 512mb 356mb

Any clues on how to approach this issue? Is there a way to reduce virtual memory allocation for the process?

Thanks,
NatureBalances

Fotson 10-09-2009 04:03 PM

Are these Linux boxes VM or physical machines


All times are GMT -5. The time now is 03:57 PM.