||Memory growing with reading ever larger files
hank hoving <> <hank hoving <>>
||Mon, 21 Oct 2019 09:05:29 +0100
In webserve.exe is a function called view.
res1.html = 29 mb
res2.html = 30 mb
the taskmanager show mem usage 5 mb
When I get a file by <domain>/view?res1.html
in de taskmanager I see the memory has grown with 29mb so mem usage is 34mb
Then I get the next file by <domain>/view?res2.html
in de taskmanager I see the memory has grown with 30mb so mem usage is 64mb
first get res2.html
memory + 30mb mem usage is 35mb
then get res1.html
memory + 0 mem usage is 35
In my program I must deliver a xml-file every 5 min.
In the afternoon this xml is about 10mb and after midnight this xml has grown to 30 mb.
So you understand I was startled when after a couple of hours I saw a mem usage of 550.
Can you explain this for me.
Now when I start the server, first I load a file of 35 mb and the mem-usage keeps on about 40mb