Fix Memory leak / program hangups
LinqPad consumes 132MB RAM in Windows x64
per Instance - this is QUITE A LOT !
after having Linqpad open for several hours, the performance is greately reduced - and hangs a lot.
having Linqpad open over night, makes it completely useless and hangs even more !!!
please fix this.
Done: LINQPad should now consume significantly less memory (particularly when you have lots of open queries).
Let me know if there are still any problems!
-
Martin Kirk commented
i can't confirm if there is a memoryleak (haven't been paying attention to memory over time)
- Memory usage in Privat set is sometimes huge !
Like in the post - LinqPad is VERY heavy if left running over night... its probably because the memory is being swapped, thus taking long time to load from disk.
maybe you could introduce a "screensaver" function for LinqPad... to close the resultset and resultview after 30 minutes...
and close open tabs (that has been saved or has a file to save to) after 60 minutes ? -
How are you ascertaining that there's a memory leak? How much memory does LINQPad use after you close your queries? And are you checking working set or private working set?