Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
memory usage question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1642

PostPosted: Sat Aug 05, 2006 6:24 pm    Post subject: memory usage question Reply with quote

I upgraded my memory from 512mb (333mhz) to 1gb (400mhz).

Before i upgraded i checked memory usage of the following command:
Code:
mencoder -ovc raw -oac pcm -o /dev/null myfilm.avi
. Since it's a heavy task cpu usage was about 95. It used 490mb memory. After upgrading i got about 985mb memory usage for the same command.
Another weird thing is that now i have only kopete opened, few shells and browser and i have 980mb usage. cpu usage 0.3%

Why is that? How can i repair it?
Back to top
View user's profile Send private message
bLUEbYTE84
Guru
Guru


Joined: 21 Jul 2006
Posts: 566
Location: universe.tar.gz, src/earth.h, struct homo_sapiens_table

PostPosted: Sat Aug 05, 2006 6:38 pm    Post subject: Reply with quote

No need to worry - the free memory is filled up with file buffers and stuff. When the programs request more memory, it will be allocated as usual. So, you shouldn't take 'free memory' into consideration. This memory, which is used for buffers, although not being shown as free memory, is effectively free for apllications' use.

Your application, taking 900+ MBs of memory, is I think due to the way it's programmed, i.e it hogs all the memory it can. Or it might be a memoy leak/bad proramming in application code.
Back to top
View user's profile Send private message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1642

PostPosted: Sat Aug 05, 2006 7:20 pm    Post subject: Reply with quote

bLUEbYTE84 wrote:
No need to worry - the free memory is filled up with file buffers and stuff. When the programs request more memory, it will be allocated as usual. So, you shouldn't take 'free memory' into consideration. This memory, which is used for buffers, although not being shown as free memory, is effectively free for apllications' use.

Your application, taking 900+ MBs of memory, is I think due to the way it's programmed, i.e it hogs all the memory it can. Or it might be a memoy leak/bad proramming in application code.


Thank you. ;-)
The command checks integrity of an avi file and decodes both audio and video. Indeed, it can be a memory leak. Will ask the developers of mplayer.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum