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?