Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Mohammad Danish
Error while setting up the JVM parameters
January 16, 2013 4:46 AM
Answer

Mohammad Danish

Rank: Regular Member

Posts: 187

Join Date: March 5, 2012

Recent Posts

Hi Experts ,
I am getting the attached fatal error while applying the following jvm parameters in setenv.sh .
JAVA_OPTS="$JAVA_OPTS -XX:NewSize=700m
-XX:MaxNewSize=700m -Xms2048m -Xmx2048m
-XX:MaxPermSize=128m -XX:+UseParNewGC -XX:
+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled
-XX:SurvivorRatio=20 -XXemoticonarallelGCThreads=8"

We are using Centos 6 , LR 6.0.6 , JDK 1.7 .

We are doing so to optimize the performance of the server .
If we are running our site the page is getting loaded in 1.2 sec . But the same page is loading in 5 sec from the production.
Can you please help us to know how to set up those parameters and also to reduce the page loading time of the server .
Attachment

Attachments: error.jpg (74.5k)
Mohammad Danish
RE: Error while setting up the JVM parameters
January 17, 2013 1:18 AM
Answer

Mohammad Danish

Rank: Regular Member

Posts: 187

Join Date: March 5, 2012

Recent Posts

In extension to the previous one ... We have tested these parameter for the 32 bit same configuration system & these worked fine .
So is there any thing we are missing for our 64 bit system.
Hitoshi Ozawa
RE: Error while setting up the JVM parameters
January 19, 2013 9:36 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

JDK 1.7 isn't supported by liferay 6.0.6. Switch back to Oracle JDK1.6.

Participate in the State of Liferay Community 2017. Help the community and even win some prizes!