vvg Member Licensed User Longtime User Aug 3, 2020 #1 Hi.. I am familier with b4a. But new bee for b4j and also for web application. I am trying to develope a web application using b4j When i try to run the project, it gives following error while compiling..... "Error occurred during initialization of VM Could not reserve enough space for 2097152KB object heap" Mine is windows 10 64 bit laptop and jdk 8.0 (32 bit) I searched on community...and followed procedure of changing heap size but error is there.... please help....i do not know where i am doing mistake. Attachments heap size error.jpg 222.4 KB · Views: 1,062
Hi.. I am familier with b4a. But new bee for b4j and also for web application. I am trying to develope a web application using b4j When i try to run the project, it gives following error while compiling..... "Error occurred during initialization of VM Could not reserve enough space for 2097152KB object heap" Mine is windows 10 64 bit laptop and jdk 8.0 (32 bit) I searched on community...and followed procedure of changing heap size but error is there.... please help....i do not know where i am doing mistake.
OliverA Expert Licensed User Longtime User Aug 3, 2020 #2 What modifications did you make to the jRDC2 code? I've downloaded v2.22 and used Amazon's Corretto's 32bit JDK8 version (1.8.0_265) and experience no issues compiling/running the server. Notes: 1) My version of the MySQL JDBC driver is 8.0.20 2) Win10 Pro 64bit (2004) 3) B4J 8.50 Upvote 0
What modifications did you make to the jRDC2 code? I've downloaded v2.22 and used Amazon's Corretto's 32bit JDK8 version (1.8.0_265) and experience no issues compiling/running the server. Notes: 1) My version of the MySQL JDBC driver is 8.0.20 2) Win10 Pro 64bit (2004) 3) B4J 8.50
Erel B4X founder Staff member Licensed User Longtime User Aug 4, 2020 #3 Close the IDE, find the INI file, set MaxRamForDex to 512 or 1024. Upvote 0
vvg Member Licensed User Longtime User Aug 4, 2020 #4 OliverA said: What modifications did you make to the jRDC2 code? I've downloaded v2.22 and used Amazon's Corretto's 32bit JDK8 version (1.8.0_265) and experience no issues compiling/running the server. Notes: 1) My version of the MySQL JDBC driver is 8.0.20 2) Win10 Pro 64bit (2004) 3) B4J 8.50 Click to expand... it's not only issue about jrdc2 project but it gives above error on any other application also... But now issue Resolved as Erel Told me how adjust MaxRamForDex. However Thanx for trying to help me... Upvote 0
OliverA said: What modifications did you make to the jRDC2 code? I've downloaded v2.22 and used Amazon's Corretto's 32bit JDK8 version (1.8.0_265) and experience no issues compiling/running the server. Notes: 1) My version of the MySQL JDBC driver is 8.0.20 2) Win10 Pro 64bit (2004) 3) B4J 8.50 Click to expand... it's not only issue about jrdc2 project but it gives above error on any other application also... But now issue Resolved as Erel Told me how adjust MaxRamForDex. However Thanx for trying to help me...
vvg Member Licensed User Longtime User Aug 4, 2020 #5 Erel said: Close the IDE, find the INI file, set MaxRamForDex to 512 or 1024. Click to expand... Thanx a Lot. Setting to 512 Solved my problem... Upvote 0
Erel said: Close the IDE, find the INI file, set MaxRamForDex to 512 or 1024. Click to expand... Thanx a Lot. Setting to 512 Solved my problem...
Johnson Samuel Member Licensed User Longtime User Sep 6, 2020 #6 Where is the INI file Located , I could not find it . I also ran into similar problem pl. help Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Sep 6, 2020 #7 %AppData%\Anywhere Software\B4J Upvote 0
Mashiane Expert Licensed User Longtime User Apr 25, 2021 #8 For more clarity, the ini file is available on... This should be c:\users\???? where mbang is your own username. Upvote 0
For more clarity, the ini file is available on... This should be c:\users\???? where mbang is your own username.
ibs06t Member Licensed User Longtime User Jul 18, 2021 #9 where is path located this file B4A application.... Upvote 0