tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Delian Krustev <tom...@krustev.net>
Subject Re: Hundreds of Instances
Date Wed, 05 Dec 2007 11:15:05 GMT
> > Really? From your other message, you make it look like Java is taking
> > something like 1GB of memory. Sure, the JVM adds some overhead to the
> > heap size you configured, but it shouldn't be more than 5% or 10%...
> > nothing like 200%.

It could be more that 200% depending on the heap size and other parameters.

>     I tried JProfiler sometime ago, and it worked fine. Too bad it's
> not free software. I'll look for others.

I'd recommend forgetting about the profiler, enabling JMX, attach to the JVM 
and see which type of memory is excessively used.

Furthermore if the swapping is a problem you'd better limit the memory 
available to the JVM. IMHO this could not be done via VM parameters.
Use ulimit instead.
This way out of memory errors will start to appear(instead of swapping) with 
the needed memory type shown in the exception.



Cheers
--
Delian


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message