Hi,
I had another issue which I think is caused to the Java Heap Space size and causing it to ran out of memory.
I am trying to work out how to increase the Java Heap Space size, and got a few questions about it..
I have come across the thread: https://www.b4x.com/android/forum/threads/parsing-huge-text-files.34923/
If I use:
I am guessing that will set the java heap space to 1024MB (1GB) ?
If I use:
Would that increase it to 2048MB (2GB) ?
Or am I looking at this wrong ?
After saying this, I also noticed Erel wrote the following in the other thread (from the link above):
Does this mean it doesn't effect the release version of my B4J app, and only effects it while debugging in the IDE? (If that is the case is there a way in doing this in release mode?)
I had another issue which I think is caused to the Java Heap Space size and causing it to ran out of memory.
I am trying to work out how to increase the Java Heap Space size, and got a few questions about it..
I have come across the thread: https://www.b4x.com/android/forum/threads/parsing-huge-text-files.34923/
If I use:
B4X:
#VirtualMachineArgs: -Xms1024m -Xmx1024m
I am guessing that will set the java heap space to 1024MB (1GB) ?
If I use:
B4X:
#VirtualMachineArgs: -Xms2048m -Xmx2048m
Or am I looking at this wrong ?
After saying this, I also noticed Erel wrote the following in the other thread (from the link above):
Note that #VirtualMachineArgs attribute only affects the program when you run it from the IDE.
Does this mean it doesn't effect the release version of my B4J app, and only effects it while debugging in the IDE? (If that is the case is there a way in doing this in release mode?)