LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-19-2011, 12:14 AM   #1
ninadoak
LQ Newbie
 
Registered: Sep 2011
Posts: 8

Rep: Reputation: Disabled
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
 
Old 09-19-2011, 12:32 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,361

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Physical RAM and SWAP Memory devUnix Linux - Server 5 12-18-2010 08:51 AM
Swap space did not function when physical memory ( RAM ) is full rabbit00 Linux - Newbie 19 07-06-2009 09:18 PM
we have a problem in our linux server/memory/swap farhadd Linux - Server 7 06-09-2007 12:26 AM
RAM/swap memory - strange readings mesonite Linux - Hardware 0 01-02-2003 12:01 PM
RAM/Swap Memory Code Errors ghe1 Programming 1 04-01-2002 07:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration