ADT - Java memory allocation error
OK, this is not really an AIR issue, but maybe some of you have encountered this.
Compiling from command line with ADT used to work, but lately I'm getting this error:
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
My machine is Windows 8 x64, 8 GB RAM, there's plenty of memory available.
I tried editing adt.bat and adding -Xmx512m but I still get this error. Tried different values to no avail.
Interestingly, it happens only when I compile for iOS.
I don't know why is this happening. Any ideas?
