Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Running out of Ram...
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
servo888
Apprentice
Apprentice


Joined: 22 Feb 2004
Posts: 293

PostPosted: Fri Oct 08, 2004 8:06 pm    Post subject: Running out of Ram... Reply with quote

Afternoon all,

I have a Compaq Laptop (r3190US), with an AMD64 3400+, and 1024MB of PC2700 ram. For some reason I keep running out of ram when I'm running games (such as UT2004, or Doom3 demo), so the program starts cache'ing into the swap. Lagging up the large games. I can't figure out why though... It seems /dev/shm takes up 506MB (that's from the ram). So half of the ram goes to to there. Is there a way to limit this? I think it's suppose to resize itself, but it doesn't seem to resize.

Some more info:
Kernel 2.6.7
Back to top
View user's profile Send private message
czo
Tux's lil' helper
Tux's lil' helper


Joined: 01 Sep 2004
Posts: 107
Location: Denmark

PostPosted: Fri Oct 08, 2004 11:33 pm    Post subject: Reply with quote

restart your box. login the type

Code:
free -m


what does then commando give you..??

etc try
Code:
top
to get an owerview

...... see ca .. czo
Back to top
View user's profile Send private message
Jake
Veteran
Veteran


Joined: 31 Jul 2003
Posts: 1132

PostPosted: Sat Oct 09, 2004 12:49 am    Post subject: Reply with quote

Weird. What's in /dev/shm/ that takes up so much memory? I've never seen any program use that space on my system.

You could try different kernel sources. ck-sources for example includes a patch that tries to prevent unnecessary swapping.
Back to top
View user's profile Send private message
servo888
Apprentice
Apprentice


Joined: 22 Feb 2004
Posts: 293

PostPosted: Sat Oct 09, 2004 1:00 am    Post subject: Reply with quote

Jake wrote:
Weird. What's in /dev/shm/ that takes up so much memory? I've never seen any program use that space on my system.

You could try different kernel sources. ck-sources for example includes a patch that tries to prevent unnecessary swapping.


There is nothing in /dev/shm. It's empty. So I umounted it... I don't know what this will do but Doom3 runs just fine now =-). From what I hear it's used by GCC, but that's all I know. man shm doesn't bring anything up - its just kind of strange. To my knowledge it should be able to resize itself when it's not in use - or more memory is needed. But it's not doing that.

I'm going to try a new kernel, but maybe not till a bit later. I've been run quite stable with my 2.6.7. *sigh* I this is bugging me
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