Bug? Memory leak in B4i process when using debugger?

b4x-de

Active Member
Licensed User
Longtime User
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?

b4x_b4i_memory-leak.png
 

b4x-de

Active Member
Licensed User
Longtime User
Does it continue to grow? Did you get an out of memory error?
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.
 
Top