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

vvg

Member
Licensed User
Longtime User
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: 565

OliverA

Expert
Licensed User
Longtime User
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

vvg

Member
Licensed User
Longtime User

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
Cookies are required to use this site. You must accept them to continue using the site. Learn more…