LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   RAM and swap memory problem (https://www.linuxquestions.org/questions/linux-newbie-8/ram-and-swap-memory-problem-903769/)

ninadoak 09-19-2011 12:14 AM

RAM and swap memory problem
 
I need to run a program that requires 3GB of memory. I have RAM available for
running as 2.9 GB. Will adding SWAP solve a problem?
I have added 6GB of swap but still it is not able to load a 3GB of file which is to be processed.

Code:

ninad:~$ free -m
            total      used      free    shared    buffers    cached
Mem:          2862        589      2273          0        54        196
-/+ buffers/cache:        338      2524
Swap:        6143          0      6143


chrism01 09-19-2011 12:32 AM

Can you be a little clearer about whether you are worried abut a 3GB program or a data file.
Also, is this a 32 bit OS and program.
For the OS
Code:

uname -a
should tell us what we want to know.
Note that 2GB = max value for 32 bit signed addressing, so that may be the problem.
Exactly what have you tried and what were the error msgs, if any?


All times are GMT -5. The time now is 09:47 AM.