LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-01-2012, 08:54 PM   #1
SubZeroJake
LQ Newbie
 
Registered: May 2012
Location: San Diego
Posts: 10

Rep: Reputation: Disabled
Post Java Could Not Create The Virtual Machine


I have a 128mb with 256mb burstable VPS running Debian. When I try and run java I receive the following error.
Code:
root@ddk:~# javac -Xmx64m apples.java
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
This is odd because then I run
Code:
java -Xmx64m apples
it works just peachy. I believe this is a problem with memory I just have a hard time believing that 128mb is not enough to compile a one line program. Thanks for any help.
 
  


Reply

Tags
debian, java, ram, vps


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
Is it possible to create a virtual LAN on my machine using virtual box or MS virtula nhammoud Linux - Networking 1 01-27-2011 04:49 PM
Create a new virtual machine in Vista smudge|lala General 7 03-12-2009 09:12 AM
Java Virtual Machine zexter Linux - Software 1 11-30-2003 05:28 PM
Java Virtual Machine!!!! Help!!!!! unwrittenlaw Linux - Newbie 1 10-01-2003 09:56 PM
java virtual machine infamous41md Linux - Newbie 6 04-20-2003 12:16 AM


All times are GMT -5. The time now is 05:42 AM.

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