QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: Qwerkey on October 16, 2019, 09:45:37 am
-
Being interested in how much memory one of my programs uses, I loaded Task Manager (Windows), and was surprised to find that my program's memory usage increased monotonically with time.
With the program doing nothing but waiting for a keypress:
there is a gradual increase in memory usage, when you might expect it to remain constant. The initial increase rate is about 5kB/s which deceases to about 0.2kB/s after about 5 minutes.
Other programs have a varying amount of memory usage (depending upon what they're doing).
The rate of increase continues to get smaller with time.
In a usage of about 68MB this is hardly worrying, but any ideas why this happens? (I did notice the same thing happens in another QB64-produced program). Could it even be a reporting inaccuracy phenomenon? More likely to be that I understand zero about how a computer uses memory!
-
Sounds like a leak.