fgh3966 Active Member Licensed User Jul 19, 2020 #1 Hello everybody. I install B4A on windows10 64 bit system and it work fine. I want install B4A on a small PC with windows 32bit system, with 2GB ram , I instal OpenJDK_14.0.1_Build_7.paf.exe 32 bit But when i compile this message apear : Error occurred during initialization of VM could not reserve enough space for 2097152KB object heap What can i do to fix this problem ? Thank you in advance .
Hello everybody. I install B4A on windows10 64 bit system and it work fine. I want install B4A on a small PC with windows 32bit system, with 2GB ram , I instal OpenJDK_14.0.1_Build_7.paf.exe 32 bit But when i compile this message apear : Error occurred during initialization of VM could not reserve enough space for 2097152KB object heap What can i do to fix this problem ? Thank you in advance .
JohnC Expert Licensed User Longtime User Jul 19, 2020 #2 B4A – The simple way to develop native Android apps B4A includes all the features needed to quickly develop any type of Android app. B4A is used by tens of thousands of developers from all over the world, including companies such as NASA, HP, IBM and others. www.b4x.com It says: "Download one of the following JDKs. Note that OpenJDK 11 requires Windows 64 bit." It looks like you might not be able to use OpenJDK version 14, and version 11 requires 64-bit Upvote 0
B4A – The simple way to develop native Android apps B4A includes all the features needed to quickly develop any type of Android app. B4A is used by tens of thousands of developers from all over the world, including companies such as NASA, HP, IBM and others. www.b4x.com It says: "Download one of the following JDKs. Note that OpenJDK 11 requires Windows 64 bit." It looks like you might not be able to use OpenJDK version 14, and version 11 requires 64-bit
fgh3966 Active Member Licensed User Jul 19, 2020 #3 Thank you for your answer I will see if we can find a version of openjdk for 32 bit system Regard. Upvote 0
fgh3966 Active Member Licensed User Jul 19, 2020 #4 I try install openjdk-8u41-b04-windows-i586-14_jan_2020.zip , it's 32 bit platform, but the same error appear when i compile. To install B4A i download , unzip and copy sdk-tools-windows-4333796.zip and ressources.zip , to C:\Android, is this the right action? This is the error with B4A : B4A Version : 10.0 Java Version : 8 Analyse du code. (0.01s) Building folders structure. (0.09s) Compilation du code. (0.08s) Compilation du code des layouts. (0.01s) Organiser les bibliothèques. (0.00s) (AndroidX SDK) Génération du fichier R. (0.00s) Compilation du code du débogueur. Error Error occurred during initialization of VM Could not reserve enough space for 2097152KB object heap What can i do ? Can you tell me download links ? Regards Upvote 0
I try install openjdk-8u41-b04-windows-i586-14_jan_2020.zip , it's 32 bit platform, but the same error appear when i compile. To install B4A i download , unzip and copy sdk-tools-windows-4333796.zip and ressources.zip , to C:\Android, is this the right action? This is the error with B4A : B4A Version : 10.0 Java Version : 8 Analyse du code. (0.01s) Building folders structure. (0.09s) Compilation du code. (0.08s) Compilation du code des layouts. (0.01s) Organiser les bibliothèques. (0.00s) (AndroidX SDK) Génération du fichier R. (0.00s) Compilation du code du débogueur. Error Error occurred during initialization of VM Could not reserve enough space for 2097152KB object heap What can i do ? Can you tell me download links ? Regards
Erel B4X founder Staff member Licensed User Longtime User Jul 19, 2020 #5 2gb of RAM is not ideal. Close B4A. Edit the ini file and set MaxRamForDex to 1024. Search Results www.b4x.com Upvote 0
2gb of RAM is not ideal. Close B4A. Edit the ini file and set MaxRamForDex to 1024. Search Results www.b4x.com
fgh3966 Active Member Licensed User Jul 19, 2020 #6 Ok , i can modify the hidden file b4xV5.ini, and i try other value "1500" for example and b4A can compile. Very thank for your quick help. Upvote 0
Ok , i can modify the hidden file b4xV5.ini, and i try other value "1500" for example and b4A can compile. Very thank for your quick help.
ValeryVal New Member Jul 19, 2020 #7 Erel said: 2gb of RAM is not ideal. Close B4A. Edit the ini file and set MaxRamForDex to 1024. Search Results www.b4x.com Click to expand... My 2¢: Path to the ini file is C:\Users\...\AppData\Roaming\Anywhere Software\Basic4android\b4xV5.ini Upvote 0
Erel said: 2gb of RAM is not ideal. Close B4A. Edit the ini file and set MaxRamForDex to 1024. Search Results www.b4x.com Click to expand... My 2¢: Path to the ini file is C:\Users\...\AppData\Roaming\Anywhere Software\Basic4android\b4xV5.ini