Le 22/08/2012 16:57, Bruno Mannina a écrit :
Dear users,

I try to know if my add in the setenv.sh (which I need to create because it didn't exist) file has been set but when I click on the link Java Properties on Admin Solr web page
I can't see the variable CATALINA_OPTS.

In fact, I would like to know if my line added in the file setenv.sh is ok: |CATALINA_OPTS=||"-server -Xss7G -Xms14G -Xmx14G $CATALINA_OPTS -XX:+UseConcMarkSweepGC -XX:NewSize=7G -XX:+UseParNewGC"|

my setenv.sh file contains only this line (inside /usr/share/tomcat6/bin/).

How can I see if memroy is well allocated ?

Other question: is |*-XX:NewSize=7G* is ok?|

I have 24Go Ram (14G ~60%)

I changed the method, I edited the file tomcat6 in /etc/init.d and I modify the JAVA_OPTS var to:
JAVA_OPTS="-server -Djava.awt.headless=true -Xms14G -Xmx14G"

Do you think it's correct if I have 24Go Ram?
Do you think something is missing ? like Xss or other ?

I found many google pages but not really a page that explain how to choose the right configuration.
I think there isn't a unique answer to this question.

it seems there are several methods to adjust memory for JVM but what is the best ?

Reply via email to