B4J Question Java HeapSpace: Why does it only grow?


Licensed User
Longtime User
I never took a look at the used memory of my B4J apps nor had any problems, but... In one of my apps I insert 5 Mio rows into a Sqlite DB and the heap space grows to the given max. value. So far, so good.

My question: What exactly consumes the memory? And how do we free it? In the task manager it looks more than a memory leak because the memory usage grows and stops when the app isn't doing anything but never frees a single byte.

As I've said, not a problem but I would like to know if there's a way to free the memory (the www doesn't help me here).