Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Memory comsuption

Luis Daniel Alvarez

2003-12-26

Replies:

Hi list
I'm having problem with my memory, as you can see from my top command I get this:

Mem: 2323420K av, 2239036K used,  84384K free,     0K shrd, 330720K buff
Swap: 2097096K av,  19176K used, 2077920K free           1576784K cached

PID USER   PRI NI SIZE RSS SHARE STAT %CPU %MEM  TIME COMMAND
25772 tomcat4   9  0 51112 49M 11072 S   0.0 2.1  0:00 java
25773 tomcat4   9  0 51112 49M 11072 S   0.0 2.1  0:00 java
25774 tomcat4   9  0 51112 49M 11072 S   0.0 2.1  0:00 java
25775 tomcat4   9  0 51112 49M 11072 S   0.0 2.1  0:00 java

This is just an example of 52 or 75 java process that always been running
What can I do to slow down memory comsuption of my java process.

I try solve this changing
maxProcessors="75" to maxProcessors="15" and
exporting CATALINA_OPTS=-Djava.awt.headless=true -Xmx1024m
but nothing change.

thanks in advance


Daniel Alvarez
ISP-InfoCom


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.554 / Virus Database: 346 - Release Date: 20/12/2003
©2008 junlu.com - Jax Systems, LLC, U.S.A.