frameos icon indicating copy to clipboard operation
frameos copied to clipboard

Test (and fix) memory leaks with logger

Open mariusandra opened this issue 1 year ago • 1 comments

The logger seems to be running out of memory

  • Make tests to make sure this doesn't happen again.
  • Work in progress

mariusandra avatar May 11 '24 00:05 mariusandra

Are you sure this is occuring in your logging code? If you're using Nim 2.0, then you should know that Jester's underlying server (httpbeast) hasn't been updated for it and leaks memory under ORC (Nim's new memory management system). You would need to use jesterfork that uses httpbeastfork in order for it to work properly. I think Jester/Httpbeast's developer has sort of given up on Nim, he isn't very active with it anymore. I'd recommend you to check out prologue as well.

Source: We tried using Jester in prod and it started to leak memory in Nim 2 after it compiled after a bunch of manual patching

xTrayambak avatar Oct 23 '24 16:10 xTrayambak