Save Memory Use setting

Would it be possible to save the Tools > Settings > Memory Use > Max. Gradle Heap Size setting?

Every time I restart RAB it goes back to the default value (1536M).

Thanks for considering,

Bernard / Gerben

Are you running a 32bit Java JDK? I have not heard of anyone running 64bit Java needing to change the Heap Size.

I ran java -version and java -d64 -version and got following reply:

java version “1.8.0_161”
Java™ SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot™ 64-Bit Server VM (build 25.161-b12, mixed mode)

When I try to build a RA with default Heap Size, I get following error:
Error occurred during initialization of VM
Could not reserve enough space for 1572864KB object heap

When I change the Heap Size to 512M it works fine, but this setting is not saved when closing RAB and so I have to set it every time I start RAB

  • I have the same problem with SAB and DAB
  • The laptop that I use has 8Gb of internal memory

Have a look at this to set it permanently.