Pregunta

I'm trying to run the first example of augmented reality in Processing. Upon hitting the run button I get the following message:

[0] "Error occurred during initialization of VM"
[1] "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.

The sketch is run on a computer with 8GB of RAM, Processing (x86) and I've increased the maximum available memmory to 2048MB in the preferences, but it still doesn't work.

How can I resolve this?

¿Fue útil?

Solución

JVM needs contiguous memory space to initialize. Hence, it is not able to reserve the amount of memory you specified. See if it works by reducing the heap space

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top