Out of memory error - unaffected by increasing available memory?
I am running a sketch in which a number of movie sequences is used to manipulate a 3D structure in OpenGL. After running for a while I get this error:
 #
 # A fatal error has been detected by the Java Runtime Environment:
 #
 # java.lang.OutOfMemoryError: requested 1920000 bytes for jint in C:\BUILD_AREA\jdk6_24\hotspot\src\share\vm\prims\jni.cpp. Out of swap space?
 #
 #  Internal Error (allocation.inline.hpp:39), pid=5772, tid=4564
 #  Error: jint in C:\BUILD_AREA\jdk6_24\hotspot\src\share\vm\prims\jni.cpp
 #
 # JRE version: 6.0_24-b07
 # Java VM: Java HotSpot(TM) Client VM (19.1-b02 mixed mode windows-x86 )
 java.lang.OutOfMemoryError
 java.lang.OutOfMemoryError
I have tried to increase the maximum available memory, but it does not seem to help? Rather, when I increase it, it crashes earlier?
Any ideas?

 
 
          