Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a problem to configure JVM on my server. The server is a machine runs on AWS with 8G of RAM and 8 CPU. There is only tomcat6 with solr on the server.

Actually I have configured JVM like that:

JAVA_OPTS="-Djava.awt.headless=true -D64 -server -Xms4096M -Xmx4096M -XX:+UseConcMarkSweepGC"

But when the traffic grow up too much I get errors. I guess the problem comes from the commited memory But I don't understand why more than 4G of memory is reserved.

memory usage

If somebody can help me to configure correctly my JVM and tell me why this problem happens.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.