B4J Question Install Windows 10(32), Java jdk-8u61-windows-i586, Install B4J 9.30, Did not run

This message showed in every one programs.

----------------------------------------------------------------------
B4J Version: 9.30
Parsing code. (0.38s)
Java Version: 8
Building folders structure. (1.68s)
Compiling code. (3.34s)
Compiling layouts code. (1.86s)
Organizing libraries. (0.01s)
Compiling generated Java code. Error

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

----------------------------------------------------------------------------

1680455796659.png
 

teddybear

Well-Known Member
Licensed User
Close IDE and find the file b4xV5.ini ,set MaxRamForDex to 512 or 1024.
 
Upvote 0
The ini file will be in C:\Users\<user>\AppData\Roaming\Anywhere Software\B4J

AdditionalLibrariesFolder=C:\Program Files\Java\jre1.8.0_361
AutoBackup=True
AutoBackupFolder=
AutoDiscover=True
AutoExpandCurrentSub=True
AutoFormat=True
AutoSave=True
BackgroundGuiThreadInterval2=50
backgroundIndexerThreadInterval=1000
CheckForUpdates=True
ClearLogsWhenSaving=True
ClientSizeHeight=736
ClientSizeWidth=1374
CodeTheme=Light
CompileMode=0
DesignerForceNoVirtualization=False
DesignerWindow=H4sIAAAAAAAEAHNJLc5Mz0stinfOyUzNKwnOrEr1SM1MzyixNbew4OVywZQOz0wpybA1NDAwQJL2SU0rsTU2MEcSCskvsDUzRRIIz8xLyS8PLkksSbV1S8wpTuXlAgBqoCH3fgAAAA==
DialogsLayouts=H4sIAAAAAAAEAGNkYGBgAmLmxKQSZhMDQ2ZDUxNmUzMTZhMjAybnFGYTY2NmQyDX1MAAKG0AAKUuVkYvAAAA
DisableDexerOptimizations=False
DisableImplicitAutoComplete=False
FileMonitorInterval=60000
FontName2=Consolas
FontSize2=12
IdeTheme2=MetroLightPurple
IDEVersionFloat=9.3
IDEVersionString=9.30
JavaBin=C:\Program Files\Java\jdk1.8.0_361\bin
Language=English
Left=234
logs_FontName2=Segoe UI
logs_FontSize2=12

MaxRamForDex=2048

NewProjectCreateNewFolder=True
NewProjectDefaultFolder=
NumberOfRecentFiles=2
NumberOfRecentSearches=0
ProcessesTimeoutSeconds=60
RecentFile1=D:\SAN-RU Java 2023\JaritQuebradosDivide\JAritQDivide.b4j
RecentFile2=D:\SAN-RU Java 2023\JAritOperacionSumaI\JAritSumaI.b4j
search_FontName2=Segoe UI
search_FontSize2=12
search_TabSize=4
SharedModulesFolder=
ShowAutoBookmarks=True
TabSize=4
Top=56
UdpServerInterval=1000
WindowState=True
WordWrap=False

Please...
Continue same error...

MaxRamForDex=2048 in the original file.
 
Upvote 0

teddybear

Well-Known Member
Licensed User
Did you change the value from 2048 to 512 MaxRamForDex=512?
 
Upvote 0
Top