N nypaulie Active Member Licensed User Longtime User Mar 12, 2021 #1 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: Mar 12, 2021
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.
udg Expert Licensed User Longtime User Mar 13, 2021 #2 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
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.
N nypaulie Active Member Licensed User Longtime User Mar 14, 2021 #3 Thank you. For what it's worth, here is the Windows command that did the trick: "java -Xms1336M -Xmx1336M JavaApplication"... Upvote 0
Thank you. For what it's worth, here is the Windows command that did the trick: "java -Xms1336M -Xmx1336M JavaApplication"...