Alessandro71 Well-Known Member Licensed User Longtime User Jan 23, 2026 #1 on my machine, with 16GB RAM (3GB available according to task manager), over time, my app grew up to this compile time Code: Compiling generated Java code. (27.04s) is there any tweak we can use to speed up compilation?
on my machine, with 16GB RAM (3GB available according to task manager), over time, my app grew up to this compile time Code: Compiling generated Java code. (27.04s) is there any tweak we can use to speed up compilation?
aeric Expert Licensed User Longtime User Jan 23, 2026 #2 Alessandro71 said: 3GB available according to task manager Click to expand... You machine eats up so much RAM? Upvote 0
Alessandro71 said: 3GB available according to task manager Click to expand... You machine eats up so much RAM?
aeric Expert Licensed User Longtime User Jan 23, 2026 #3 Alessandro71 said: is there any tweak we can use to speed up compilation? Click to expand... I suggest go to Advanced System Settings and allocate enough Virtual Memory. Clear your hard drive to reserve more disk space. Maybe use a more recent version of JDK can boost the performance. Upvote 0
Alessandro71 said: is there any tweak we can use to speed up compilation? Click to expand... I suggest go to Advanced System Settings and allocate enough Virtual Memory. Clear your hard drive to reserve more disk space. Maybe use a more recent version of JDK can boost the performance.
Alessandro71 Well-Known Member Licensed User Longtime User Jan 23, 2026 #4 aeric said: You machine eats up so much RAM? Click to expand... not "my machine" rather than Chrome, that is at the 3GB mark right now. Gmail, meet, sheets are my working tools, open all time. Upvote 0
aeric said: You machine eats up so much RAM? Click to expand... not "my machine" rather than Chrome, that is at the 3GB mark right now. Gmail, meet, sheets are my working tools, open all time.
Alessandro71 Well-Known Member Licensed User Longtime User Jan 23, 2026 #5 aeric said: Maybe use a more recent version of JDK can boost the performance. Click to expand... I'm using the JDK from the B4A install instructions Upvote 0
aeric said: Maybe use a more recent version of JDK can boost the performance. Click to expand... I'm using the JDK from the B4A install instructions
LucaMs Expert Licensed User Longtime User Jan 23, 2026 #6 Alessandro71 said: not "my machine" rather than Chrome, that is at the 3GB mark right now. Click to expand... We should go back to the Olivetti M24; how did we do it back then?! 3 GB for just a web browser! Upvote 0
Alessandro71 said: not "my machine" rather than Chrome, that is at the 3GB mark right now. Click to expand... We should go back to the Olivetti M24; how did we do it back then?! 3 GB for just a web browser!
aeric Expert Licensed User Longtime User Jan 23, 2026 #7 LucaMs said: 3 GB for just a web browser! Click to expand... 16 - 3 = 13 GB is used. Assume windows used 3 GB of RAM, 10GB goes to browser? Upvote 0
LucaMs said: 3 GB for just a web browser! Click to expand... 16 - 3 = 13 GB is used. Assume windows used 3 GB of RAM, 10GB goes to browser?
LucaMs Expert Licensed User Longtime User Jan 23, 2026 #8 aeric said: 16 - 3 = 13 GB is used. Assume windows used 3 GB of RAM, 10GB goes to browser? Click to expand... 3 GB used by Chrome Upvote 0
aeric said: 16 - 3 = 13 GB is used. Assume windows used 3 GB of RAM, 10GB goes to browser? Click to expand... 3 GB used by Chrome
Erel B4X founder Staff member Licensed User Longtime User Jan 25, 2026 #9 Alessandro71 said: Compiling generated Java code. (27.04s) Click to expand... This is indeed slow. Make a test - restart the PC, assuming that now there will be more RAM available, try to compile a few times. Is it still that slow? Have you modified MaxRamForDex in the ini file? It should be at least 2048. Upvote 0
Alessandro71 said: Compiling generated Java code. (27.04s) Click to expand... This is indeed slow. Make a test - restart the PC, assuming that now there will be more RAM available, try to compile a few times. Is it still that slow? Have you modified MaxRamForDex in the ini file? It should be at least 2048.
Alessandro71 Well-Known Member Licensed User Longtime User Jan 25, 2026 #10 Erel said: This is indeed slow. Make a test - restart the PC, assuming that now there will be more RAM available, try to compile a few times. Is it still that slow? Have you modified MaxRamForDex in the ini file? It should be at least 2048. Click to expand... never touched the ini file, it's at 2024 now, after a reboot and some compile, java code is down to 6 seconds Upvote 0
Erel said: This is indeed slow. Make a test - restart the PC, assuming that now there will be more RAM available, try to compile a few times. Is it still that slow? Have you modified MaxRamForDex in the ini file? It should be at least 2048. Click to expand... never touched the ini file, it's at 2024 now, after a reboot and some compile, java code is down to 6 seconds
Peter Simpson Expert Licensed User Longtime User Jan 25, 2026 #11 Alessandro71 said: never touched the ini file, it's at 2024 now, after a reboot and some compile, java code is down to 6 seconds Click to expand... For years I've set mine to 4096. VM should be okay already. Upvote 0
Alessandro71 said: never touched the ini file, it's at 2024 now, after a reboot and some compile, java code is down to 6 seconds Click to expand... For years I've set mine to 4096. VM should be okay already.
Alessandro71 Well-Known Member Licensed User Longtime User Jan 25, 2026 #12 Peter Simpson said: For years I've set mine to 4096. VM should be okay already. Click to expand... just tested on mine no visible results on my project Upvote 0
Peter Simpson said: For years I've set mine to 4096. VM should be okay already. Click to expand... just tested on mine no visible results on my project