Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 06-30-2012, 03:30 PM   #1
LQ Newbie
Registered: Jun 2012
Posts: 1

Rep: Reputation: Disabled
Unhappy 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)
Old 06-30-2012, 06:44 PM   #2
harry edwards
Registered: Nov 2007
Location: Lincolnshire, UK
Distribution: CentOS, Fedora, and Suse
Posts: 365

Rep: Reputation: 48
Similar problems here with various solutions.
Old 07-02-2012, 02:05 AM   #3
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 558
Blog Entries: 5

Rep: Reputation: Disabled
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"


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Max addressable memory for 64bit JVM Process snoop234 Linux - Newbie 5 02-06-2012 11:34 AM
Memory leak in X? Mizzou_Engineer Linux - Software 5 04-15-2010 08:28 AM
[SOLVED] Memory leak: How risky not to free allocated memory. kaz2100 Linux - General 1 12-24-2008 01:00 AM
Inactive memory issue, Freebsd (memory leak?) JasperB *BSD 7 08-12-2008 04:19 AM
Memory Leak when using memory debugging C program on SuSE SLES8 babalina Linux - Distributions 0 10-06-2003 10:39 AM

All times are GMT -5. The time now is 05:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration