Android Question Convert byte code - optimized dex. Error Suddenly appeared

JohnnyHamburg

Member
Licensed User
Longtime User
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.
 

JohnnyHamburg

Member
Licensed User
Longtime User
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

Pendrush

Well-Known Member
Licensed User
Longtime User
Install Java JDK x64, you will be able to set memory high as you want.
My maxramfordex is set to 4096.
 
Upvote 0
Top