Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-07-2009, 10:47 AM   #1
LQ Newbie
Registered: May 2008
Posts: 28

Rep: Reputation: 15
error running java application

I am trying to run a java application with the following script but i am having error.

nohup java -jar "node-alerter.jar" & > node-log.log
echo ${pid} >
and the error i am getting is
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
This error raises even if i run any java application directly. What to do?

The server is already installed with java the command

which java
returns the follwing result

and there is already tomcat server running there (which is acting as primary server for this machine).
Old 02-07-2009, 01:52 PM   #2
Registered: May 2007
Location: CO
Distribution: Ubuntu
Posts: 152
Blog Entries: 1

Rep: Reputation: 18
Sounds like you're out of either memory or hard disk space.
Old 02-09-2009, 01:29 AM   #3
LQ Newbie
Registered: May 2008
Posts: 28

Original Poster
Rep: Reputation: 15
Originally Posted by digerati1338 View Post
Sounds like you're out of either memory or hard disk space.
there is 7 GB of disk space available - i am not able to run java there .


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
A java application running at runlevel 3 MRMadhav Programming 5 04-20-2011 04:07 PM
Error running java gamor Linux - Newbie 4 06-01-2007 02:50 AM
Error: Another application is running which is accessing software information JasonP Fedora 3 04-16-2007 07:40 AM
java This.class error when running Fredstar Programming 2 02-13-2006 12:48 AM
application/x-java-vm error nevillemonteiro Linux - General 1 11-28-2005 01:57 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:34 AM.

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
Open Source Consulting | Domain Registration