2013-09-01, 18:26
(2013-09-01, 15:10)MilhouseVH Wrote: Just wondering if there is a memory leak in Gotham/master (with newlock3 patches).
I'm testing on a 512MB Pi (128MB GPU) running OpenELEC which is NOT loading SYSTEM into RAM, so the Pi starts off with about 230MB free memory once XBMC had displayed the GUI (although in Frodo, this would be closer to 300MB free).
However in Gotham, I'm seeing free memory now go as low as 36MB, and I've never seen free memory go this low with OpenELEC Frodo (also with noram set in cmdline.txt) - Frodo builds would run for days with around 250-300MB free.
I'm running RBEJs latest Gotham build and 'top' is showing free memory of around approx 24MB after about 20hours of running. I've watched the memory usage as i've kicked of various things within XBMC, such as a backup (using the backup plugin) and playing various files and the free mem goes up and down between about 20MB and 35MB with no sign of issues, so I think this is just the Linux memory management using ram as a cache and free it up when needed.