Posts: 45
Joined: Jun 2008
Reputation:
0
KeithB
Junior Member
Posts: 45
Having watched the spare memory on the PC drop from 1.2GB down to 50Meg while doing nothing but watching AVI files with XBMC.
I've started poking around on the system to confirm it's not anything else, but assuming it does come back to AVI playback on XBMC what additional information beyond that in the sticky would be useful so I can grab as much as possible on one go?
Posts: 4,997
Joined: May 2004
Reputation:
12
Is this with or without FS buffers? 'cause linux will eat all your spare RAM without telling you. Your best bet is to actually watch XBMC's memory usage in top.
Posts: 45
Joined: Jun 2008
Reputation:
0
KeithB
Junior Member
Posts: 45
FS Buffers? Can you tell me what I should be looking at for that?
I'll double check the top captures I've left running but nothing abnormal was showing against xbmc.bin. I'll double check with ps as well.
Are you thinking that the OS may be leaking the memory underneath XBMC? Wouldn't I see that watching the same file with MPlayer though?
Posts: 45
Joined: Jun 2008
Reputation:
0
KeithB
Junior Member
Posts: 45
Edit: (Or not - how do you edit on this forum?) For reference, I'm running an SVN build from yesterday on Ubuntu Hardy 32 bit with 2GB of memory.
Posts: 4,997
Joined: May 2004
Reputation:
12
No I'm saying whatever you're looking at may not be subtracting filesystem buffers, so what you're seeing is the OS caching files not memory leaking. It looks like the gnome system monitor displays actual memory usage, so you can watch that as apposed to top.
Posts: 4,997
Joined: May 2004
Reputation:
12
The kernel will forfeit the buffers if anything else needs memory. It's actually a good thing to keep the commonly accessed files cached, just a little deceiving the way it's presented with memory usage. IIRC there is a file in /proc or /sys that will increase "swapiness."