3 ms·
Not running the GC at all is certainly interesting though :) Have you tried running 'M-x memory-report' before quitting to see how much memory you ended up usi
by matthews2 4y ago
Not running the GC at all is certainly interesting though :)
Have you tried running 'M-x memory-report' before quitting to see how much memory you ended up using?
- dilap 4y agoMy emacs ain't new enough to have memory-report. I tried just running memory-report.el from HEAD, but it errored out (after hanging emacs for like 3 mins!). Anyway, here's the poor man's version: cons-cells-consed is 38315202 There's probably some roughly accurate map from that to number of bytes of memory allocated, I will take a totally random guess it's 10, which would give 383MB of memory used. I'm at half a day of usage, so figure 800MB by end of day. 16GB machine, so you can see why my "garbage collect once a day before bed" strategy is working out ;-). (Plus also I wonder how much of the uncollected garbage just gets paged out by the OS and never touched again.)