Android Question [Solved] Need help with fresh B4A install

nypaulie

Active Member
Licensed User
Longtime User
I had to upgrade my OS (to Linux Mint 19.3) so I also had to reinstall B4A. I run this on Windows 7 using VirtualBox. This has always worked for me. As a test I created a simple program with a button that exits. When I tried to compile & run via B4A Bridge I get the following error msg:

Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap

I increased the memory size of my Windows Guest to the max in VBox and am still getting this msg. Any ideas?
Thanks.

[Added Later] I was able to lower the required space for Java via the Windows command line and am OK once again... Should have thought of this before ny post. Sorry.
 
Last edited:

udg

Expert
Licensed User
Longtime User
Don't be sorry. Posting how you solved it, you helped many others that will eventually incurr in the same problem.
So you deserve a big Thank You.
 
Upvote 0

nypaulie

Active Member
Licensed User
Longtime User
Thank you. For what it's worth, here is the Windows command that did the trick:
"java -Xms1336M -Xmx1336M JavaApplication"...
 
Upvote 0
Top