Is there a package/function that I can use to see, track, log, and/or diagnose the memory usage of variables?
I’m serving a website with
WGLMakie, and after a few hours of usage I get
OutOfMemory errors. My initial tests (like printing
summarysize) have been helpful, but I’m wondering if there’s something out there that is better-suited for tracking the usage over long periods of time. It would be extra helpful if trends would be picked up as well: like if a variable increases in size by a constant factor as a function of time or a function of “events”.
To be clear,
BenchmarkTools is great (use it all the time, thank you @jrevels), but it’s mostly for testing a single function, not the usage of a long process (or perhaps I’m wrong?).