J JohnnyHamburg Member Licensed User Longtime User Nov 6, 2018 #1 Hello, I have this problem while compiling : "Convert byte code - optimized dex. Error " I didn't have that before. Everything worked fine last time I used B4A. I already increased maxramfordex to "2048", but gives me this error: "Error occurred during initialization of VM Could not reserve enough space for 2097152KB object heap" Only thing that changed in the past few weeks was an update of Windows 10.
Hello, I have this problem while compiling : "Convert byte code - optimized dex. Error " I didn't have that before. Everything worked fine last time I used B4A. I already increased maxramfordex to "2048", but gives me this error: "Error occurred during initialization of VM Could not reserve enough space for 2097152KB object heap" Only thing that changed in the past few weeks was an update of Windows 10.
Erel B4X founder Staff member Licensed User Longtime User Nov 6, 2018 #2 Are you sure that there is enough memory available? Try to decrease it to 1500. Upvote 0
J JohnnyHamburg Member Licensed User Longtime User Nov 6, 2018 #3 Now it tells me: "Error occurred during initialization of VM Could not reserve enough space for 1536000KB object heap" My notebook has 16 GB of RAM. I restarted already. Task-Manager tells me I have 40% in use. Upvote 0
Now it tells me: "Error occurred during initialization of VM Could not reserve enough space for 1536000KB object heap" My notebook has 16 GB of RAM. I restarted already. Task-Manager tells me I have 40% in use.
P Pendrush Well-Known Member Licensed User Longtime User Nov 6, 2018 #4 Install Java JDK x64, you will be able to set memory high as you want. My maxramfordex is set to 4096. Upvote 0
Install Java JDK x64, you will be able to set memory high as you want. My maxramfordex is set to 4096.
J JohnnyHamburg Member Licensed User Longtime User Nov 6, 2018 #5 Works again now. I updated SDK-tools and Java. Set path to new ones. and everything is fine. Upvote 0