hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From madhuri72 <akil...@gmail.com>
Subject Could not reserve enough space for heap in JVM
Date Thu, 26 Feb 2009 01:05:25 GMT


I'm trying to run hadoop version 19 on ubuntu with java build 1.6.0_11-b03. 
I'm getting the following error:

Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
make: *** [run] Error 1

I searched the forums and found some advice on setting the VM's memory via
the javac options 

-J-Xmx512m or -J-Xms256m

I have tried this with various sizes between 128 and 1024 MB.  I am adding
this tag when I compile the source.  This isn't working for me, and
allocating 1 GB of memory is a lot for the machine I'm using.  Is there some
way to make this work with hadoop?  Is there somewhere else I can set the
heap memory?


View this message in context: http://www.nabble.com/Could-not-reserve-enough-space-for-heap-in-JVM-tp22215608p22215608.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.

View raw message