Home » Linux OS and Software » How-To » Lack of memory for Java
Thu, 05 November 2009 14:19 Go to next message
Registered: November 2009
Messages: 1
On running the command "java -version" I see a message saying there is not enough memory. Therefore I decided to try creating a swap file to solve this problem. I was following the instructions on this website for Ubuntu: https://help.ubuntu.com/community/SwapFaq

However when I get to the part where I run the command swapon it says Operation Not Permitted. I am running as root.

The top command suggests I have 131MB of memory and no swap.

Can someone please suggest what I am doing wrong? I cannot currently run java or javac. Is creating a swap file a solution that should fix this?

Thank you in advance,
Thu, 05 November 2009 14:44 Go to previous message
Registered: November 2007
Messages: 511
Take a look at this post: http://forum.vpsville.ca/index.php?t=msg&th=203&star t=0

Previous Topic:remote desktop to install wine
Next Topic:Procmail
Goto Forum:

Current Time: Tue Oct 23 01:20:38 EDT 2018
.:: Contact :: Home ::.

Powered by: FUDforum 2.7.7.
Copyright ©2001-2006 FUD Forum Bulletin Board Software