agraham Expert Licensed User Longtime User Jun 13, 2022 #1 I have a program that requires a large increase in the Java Heap Space to run in the IDE in release mode. It's using the B4J version of HugeImageView. #VirtualMachineArgs: -Xms8192m -Xmx8192m It now works fine in the IDE but fails when built as a standalone package using the recommended JDK 11. It looks like the #VirtualMachineArgs setting is not getting passed through to the final package. Is this so? Last edited: Jun 13, 2022
I have a program that requires a large increase in the Java Heap Space to run in the IDE in release mode. It's using the B4J version of HugeImageView. #VirtualMachineArgs: -Xms8192m -Xmx8192m It now works fine in the IDE but fails when built as a standalone package using the recommended JDK 11. It looks like the #VirtualMachineArgs setting is not getting passed through to the final package. Is this so?
Erel B4X founder Staff member Licensed User Longtime User Jun 14, 2022 #2 agraham said: #VirtualMachineArgs: Click to expand... This is an IDE only attribute. You should add: Code: Copy #PackagerProperty: VMArgs = -Xms8192m -Xmx8192m Upvote 0
agraham said: #VirtualMachineArgs: Click to expand... This is an IDE only attribute. You should add: Code: Copy #PackagerProperty: VMArgs = -Xms8192m -Xmx8192m
agraham Expert Licensed User Longtime User Jun 14, 2022 #3 Thanks Erel. That worked. I did think there might be a packager property but I didn't find it when I searched - obviously not well enough! Upvote 0
Thanks Erel. That worked. I did think there might be a packager property but I didn't find it when I searched - obviously not well enough!