Quite new to processing and have built my first app. It makes used of lots of images for stop frame animation. It currently uses <4gb of memory which is fine as it will only run on a few select machines. Running in processing is great but when I export the app and run it I get an error "Exception in Thread "Animation Thread" java.lang.OutOfMemoryError: Java Heap Space"
I have checked in /lib/args and -Xms1000m -Xmx4000m are set correctly and even if I manually set these to 7000m I still get the error.
Does anyone have any experience of why more memory is used in an exported app and how I can stop it from throwing the error?