B4A Question MaxRamForDex=20000 does not help for XOM lib v.1.2 (in big project) - peacemaker    Apr 26, 2020
1 error; aborting
...even with MaxRamForDex=20000 in... engine code. (0.02s)
Compiling generated Java code. (0.05s)
Convert byte code - optimized dex...
B4A Question Can't increase MaxRamForDex - MrKim    Feb 20, 2018
I am trying to increase MaxRamForDex from 512 to 1028 but compile throws the following error.... Error
Error occurred during initialization of VM
Could not reserve enough space for 1052672KB object...
B4A Question How to change MaxRamForDex value - Erel (first post)    Jan 27, 2021   (1 reaction)
0. Close the IDE.
1. Go to C:\Users\<your user>\AppData\Roaming\Anywhere Software\Basic4android
2. Edit b4xV5.ini and change MaxRamForDex to 4000....
B4A Question Cannot increase MaxRamForDex - Erel (first post)    Jan 27, 2021   (1 reaction)
You should never post in old threads. The correct answer is to modify MaxRamForDex (if needed). Any other setting will not have any effect....
B4A Question Convert byte code - optimized dex. Error - Need Help Pls :( - Erel (first post)    Mar 16, 2020   (5 reactions)
You can increase the memory size that the dexer process is allowed to use. Open the ini file that is located in: C:\Users\<Your user name>\AppData\Roaming\Anywhere Software\Basic4android Change this line: MaxRamForDex=1024 To: MaxRamForDex=3000 Note that you must do this change when B4A is closed. Otherwise it will override the change when it gets closed (and it reads it only when it opens). You can also disable the debugger (Project - Attach debugger)....
B4J Question Install Windows 10(32), Java jdk-8u61-windows-i586, Install B4J 9.30, Did not run - teddybear (first post)    Apr 7, 2023   (1 reaction)
Did you change the value from 2048 to 512 MaxRamForDex=512?...
B4A Question VM object heap space - Solved for Win7 32bit 2G - 3fazeac    Jun 16, 2020
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.... Windows7 32 bit laptop which has 2G RAM installed. I've also installed the lasted B4A release 9...
Spanish Error relacionado con Objetos - José J. Aguilar (first post)    Feb 26, 2023   (1 reaction)
Según este hilo:
- Cierra el IDE, busca el archivo .INI, y cambia el MaxRamForDex de 512 a 1024.
B4A Question Slow compile in 11.2 - Erel (first post)    Feb 8, 2022
First step is to enable the optimized dexer and increase MaxRamForDex....
B4A Question Compile error of example code - ht_admin (first post)    Feb 1, 2021
Seems like your PC is low on memory. Close the IDE. Find the ini file and decrease MaxRamForDex value.
Thanks Erel for reply and your valuable time,
i changed the MaxRamForDex to 1024 from 2048, it worked....
Page: 1   2   3   4   5   6   7