This isn't specific to Mahout:

Error occurred during initialization of VM
Could not reserve enough space for object heap

This means that you set a heap size that is too big for the machine.
For example, maybe you requested a 4GB heap on a 32-bit machine.

On Mon, Jun 25, 2012 at 2:41 PM, Videnova, Svetlana
<svetlana.viden...@logica.com> wrote:
> Please can somebody help me with this error?
>
>
> Im using mahout 0.7
>
>
> /usr/local/mahout-distribution-0.7/examples/bin$ ./build-reuters.sh
> Please call cluster-reuters.sh directly next time.  This file is going away.
> Please select a number to choose the corresponding clustering algorithm
> 1. kmeans clustering
> 2. fuzzykmeans clustering
> 3. dirichlet clustering
> 4. minhash clustering
> Enter your choice : 1
> ok. You chose 1 and we'll use kmeans Clustering
> creating work directory at /tmp/mahout-work-hduser
> MAHOUT_LOCAL is set, so we don't add HADOOP_CONF_DIR to classpath.
> Warning: $HADOOP_HOME is deprecated.
>
> MAHOUT_LOCAL is set, running locally
> Error occurred during initialization of VM
> Could not reserve enough space for object heap
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.
> Warning: $HADOOP_HOME is deprecated.
>
> rmr: cannot remove /tmp/mahout-work-hduser/reuters-out-seqdir: No such file 
> or directory.
> Warning: $HADOOP_HOME is deprecated.
>
> put: File /tmp/mahout-work-hduser/reuters-out-seqdir does not exist.
>

Reply via email to