B4A Question How to change MaxRamForDex value - toby    Jan 27, 2021 The compiler is having "out of memory" error. Where can I set/change MaxRamForDex value, i. e., MaxRamForDex=4000?... B4A Question MaxRamForDex=20000 does not help for XOM lib v.1.2 (in big project) - peacemaker    Apr 26, 2020 /google/android/gms/common/util/VisibleForTesting;
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 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).... B4A Question Running NLG (NativeLibraryGenerator) - aedwall (first post)    Apr 27, 2025 I finally found a reference that said I should change this: MaxRamForDex=2048 to this: MaxRamForDex=512 in the "b4xV5.ini" file. That made it work. But so much time and energy lost trying to find it. Thank you for your help.... Wish IDE B4a parameter compilation Java XMX - Erel (first post)    Feb 12, 2025 Have you encountered an out of memory error? You can change it by modifying MaxRamForDex in the INI file. Change it while the IDE is closed. %AppData%\Anywhere Software\Basic4android\b4xV5.ini... 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... B4A Question Possible cause of the error "Could not reserve enough space". - AndreyPozdnyakov    May 10, 2025 I found that the error "Could not reserve enough space for 2097152" can occur if the project is located in a folder, the path to which contains names in Cyrillic. In this case, MaxRamForDex=2048 is automatically assigned in the INI file. After renaming the path to the Project (excluding Cyrillic), the error "2097152" disappeared.... 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?... Page: 1   2   3   4   5   6   7   |