JustusAdam / marvin

The paranoid bot (framework)
https://marvin.readthedocs.io
BSD 3-Clause "New" or "Revised" License
53 stars 6 forks source link

Weird memory behaviour #9

Open JustusAdam opened 7 years ago

JustusAdam commented 7 years ago

On my test instance when starting marvin (compiled with -O2) the memory usage was around 40MB and after running for a few hours it was only about 25MB.

It seems there some initial space leak which gets cleaned up as the code is evaluated.

I have made first attempts at resolving it, notably fully evaluating the Handlers structure, but so far it seems that did not fix it.