View previous topic :: View next topic |
Author |
Message |
servo888 Apprentice
Joined: 22 Feb 2004 Posts: 293
|
Posted: Fri Oct 08, 2004 8:06 pm Post subject: Running out of Ram... |
|
|
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 |
|
|
czo Tux's lil' helper
Joined: 01 Sep 2004 Posts: 107 Location: Denmark
|
Posted: Fri Oct 08, 2004 11:33 pm Post subject: |
|
|
restart your box. login the type
what does then commando give you..??
etc try to get an owerview
...... see ca .. czo |
|
Back to top |
|
|
Jake Veteran
Joined: 31 Jul 2003 Posts: 1132
|
Posted: Sat Oct 09, 2004 12:49 am Post subject: |
|
|
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 |
|
|
servo888 Apprentice
Joined: 22 Feb 2004 Posts: 293
|
Posted: Sat Oct 09, 2004 1:00 am Post subject: |
|
|
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 |
|
|
|