Android Question VM object heap space - Solved for Win7 32bit 2G

3fazeac

Member
Licensed User
Longtime User
I have (June 16 2020) installed the very latest java (1.8.0_251) OS_VERSION=5.1 OS_ARCH=i586
on my Windows7 32 bit laptop which has 2G RAM installed.
I've also installed the lasted B4A release 9.90 immediately after installing the Java package.

When I try compiling Erel's MyLocation example GPS code I get the 'Could not reserve enough space for 2097152KB object heap' error.

I've looked through the forum and the MaxRamForDex is mentioned in several posts - but where is this variable?

Please can someone tell me how to modify the MaxRamForDex variable.

Am I likely to get B4A running on my 32bit windows7 2GB RAM machine?
Thank you.
 

3fazeac

Member
Licensed User
Longtime User
Mark as solved. Erel's instructions worked fine. My projects are small and compilation times are acceptable on this 32bit win7 2GRam laptop.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…