Android Question "Error occurred during initialization of VM"

wsobers

New Member
New to B4A. I had Android Studio, Android SDK and ADK already installed.

B4A setup points to jdk1.8.0_161
Trying to load and run "Hello World" sample. The sample fails as a compile error of "Error occurred during initialization of VM"
How can I control the object heap?
I've check the AppData folder and there are no ini files related to B4A or "Anywhere Software" there.

Regards
Wayne

b4a-build error.png
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
I had Android Studio, Android SDK and ADK already installed.
Not relevant. You should follow these instructions: https://www.b4x.com/b4a.html

Based on the error message your computer is low on memory. You can close the IDE and decrease the value of MaxRamForDex to 512 or 1024. I do recommend you to use a computer with more RAM.

 
Upvote 0
Top