b4x-de Active Member Licensed User Longtime User Feb 16, 2026 #1 When I work with the debugger in B4A or B4i, there seems to be a memory leak. The size of the processes grows more and more over time. Today, after about 2 hours of programming, B4i.exe occupies 4 GB of RAM. It's similar with B4A. Has anyone else observed this problem?
When I work with the debugger in B4A or B4i, there seems to be a memory leak. The size of the processes grows more and more over time. Today, after about 2 hours of programming, B4i.exe occupies 4 GB of RAM. It's similar with B4A. Has anyone else observed this problem?
Erel B4X founder Staff member Licensed User Longtime User Feb 16, 2026 #2 This doesn't immediately means that there is a memory leak. Does it continue to grow? Did you get an out of memory error?
This doesn't immediately means that there is a memory leak. Does it continue to grow? Did you get an out of memory error?
b4x-de Active Member Licensed User Longtime User Feb 16, 2026 #3 Erel said: Does it continue to grow? Did you get an out of memory error? Click to expand... It grows continuously. When I start B4i fresh, it takes up about 100 MB of RAM, and over time it takes up more and more. When it reaches the 3-4 GB limit, debugging takes a very long time (e.g., after stopping at a breakpoint, it takes a very long time to move to the next line, and the rest of the program also runs very slowly). After restarting B4i, it runs faster again. My computer still has enough resources. I don't get an out of memory error.
Erel said: Does it continue to grow? Did you get an out of memory error? Click to expand... It grows continuously. When I start B4i fresh, it takes up about 100 MB of RAM, and over time it takes up more and more. When it reaches the 3-4 GB limit, debugging takes a very long time (e.g., after stopping at a breakpoint, it takes a very long time to move to the next line, and the rest of the program also runs very slowly). After restarting B4i, it runs faster again. My computer still has enough resources. I don't get an out of memory error.
Erel B4X founder Staff member Licensed User Longtime User Feb 17, 2026 #4 Make a test and remove all breakpoints + clean project (Ctrl + P). Is debugging still slow? The IDE can run for many weeks without being restarted. This is not a common issue.
Make a test and remove all breakpoints + clean project (Ctrl + P). Is debugging still slow? The IDE can run for many weeks without being restarted. This is not a common issue.