Results 1 to 3 of 3
Hi,
I'm trying to run a heavy physics software that requires much memory on the PC. I'm using Ubuntu 8.0 32-bit. I have 2GB RAM and 9GB swap space. When ...
- 04-04-2009 #1Just Joined!
- Join Date
- Apr 2009
- Posts
- 1
Ubuntu does not use swap space
Hi,
I'm trying to run a heavy physics software that requires much memory on the PC. I'm using Ubuntu 8.0 32-bit. I have 2GB RAM and 9GB swap space. When I run the program, the total RAM usage rapidly becomes 2GB and then the program gives the error: Out of memory and it stops. However, I expect to utilize swap space but it seems that I have to tell Ubuntu to be able to use swap space when RAM is finished. How can I solve this problem?
Cheers,
carbon9Last edited by carbon9; 04-04-2009 at 07:22 PM. Reason: type
- 04-04-2009 #2
Hello and Welcome.
Open a terminal window and issue this command.
It will tell you if the swap is even being used at all. Another thing, I think 9GB of swap is a bit much, but if you think you need that much then that's ok. You should not have to "tell Ubuntu to use the swap space" as long as the swap space is active and running.Code:free
I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 04-04-2009 #3Linux Guru
- Join Date
- Jan 2009
- Location
- Dover, NH
- Posts
- 1,633
The old swap format didn't address more than 2 GB anyway. I don't know if the current swap format can, I've never tried it.
I use XOSview to watch the memory usage and other things. I don't think ubuntu installs it by default, but it's easily to install via Synaptic. It's good for watching just how much usage you have at the point something fails.
If need be, it is also possible to create a swapfile, instructions are in the man pages, I think in man mkswapfs... I'm being rushed, sorry for the lack of detail.


Reply With Quote