LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   JVM Memory leak (https://www.linuxquestions.org/questions/linux-server-73/jvm-memory-leak-4175414188/)

yigitozdemir 06-30-2012 02:30 PM

JVM Memory leak
 
Hi everyone,

Now a days i am trying to install cloudera manager to my server. Instalitation was succesful but the service can not be started.

I looked the log file it says

error occurred during initilization of vm
could not reserve enough space for object heap
could not create java virtual machine

I know the method:

java -Xms1024m -Xmx1500m -jar ...
method but there is a problem this is a service not a jar file.

I have 1.93 gb of free memory, i want to increase limits of JVM. How can i do it?

(ps: i am using centos 5 64 bits and i already serached on the internet)

harry edwards 06-30-2012 05:44 PM

Similar problems here with various solutions.

jsaravana87 07-02-2012 01:05 AM

Hi
Im using the following configuration in tomcat service ,To make tomcat to consume a memory of 512M at startup

JAVA_OPTS="-server -Xms1024m -Xmx1024m -XX:MaxPermSize=512m"


All times are GMT -5. The time now is 06:18 AM.