Loggytronic Forum

VOMP => VOMP General / MVP => Topic started by: Chris on September 16, 2005, 21:19:57

Title: VDR memory usage
Post by: Chris on September 16, 2005, 21:19:57
I appreciate a VDR board might be a better place for this, but I'm a bit stuck for time so I'll just pick your brains instead!

My VDR has been running for a couple of weeks now, and the top command reports that the VIRT memory size is about 2GB. On switching a few more fields on in top, it seems this is coming from swap space. Now I don't have 2GB of memory in any form, I have 512MB real memory and 512MB swap. According to the free command, I am using 109MB for programs for the whole box, and only 84k swap space is in use.

So, obviously something is messing with the memory reporting. I just wondered if anyone else has seen this problem, and/or seen any solutions on any other boards about it.

Oh, this is VDR 1.2.6 by the way. And I only spotted this problem because I have been writing a C++ w/STL program for work which is doing the same thing. Both VDR and this program are written in C++ using STL. Hmmmm, a clue?!
Title: Re: VDR memory usage
Post by: Hoochster on September 16, 2005, 22:37:40
VDR 1.2.6 WHAT!  Hehe, I know there was some memory leaks in some of the developer builds awhile back, but I think we got them all sorted out.  Never even seen VDR 1.2.6 honestly so I am not sure if it would have such a thing or not.  VDR itself uses very little memory.  At least that I have seen.  Using TOP linux itself of course ties up memory just for preperation I guess but I never touch my swap file at all.  I have 1g memory and like 512 swap.  But VDR is never using more than 3% Cpu etc. So I am not sure there.  I will ask around.