Kittyfisto / Tailviewer

Open source log file viewer
https://kittyfisto.github.io/Tailviewer/
MIT License
184 stars 38 forks source link

Memory used to read text log files is never reclaimed #282

Closed Kittyfisto closed 3 years ago

Kittyfisto commented 3 years ago

Current behaviour

Tailviewer doesn't properly release all memory associated with a log file once it's closed.

Expected behaviour

Tailviewer's memory footprint, after a log file has been closed, should drop down to roughly what it was before it was opened.

Steps to reproduce the problem

  1. Start Tailviewer
  2. Open Process Explorer, double click Tailviewer
  3. Display its used memory in Process Explorer
  4. Open a sufficiently large log file (10s of MBs)
  5. Watch Tailviewer's memory increase (expected)
  6. Close the log file

Known Workarounds

Close and start Tailviewer again.

Kittyfisto commented 1 year ago

Fixed with Tailviewer v1.0.0-RC1.