Complete.Org: Mailing Lists: Archives: linux-help: June 2000:
[linux-help] Re: How to get more virtual memory?
Home

[linux-help] Re: How to get more virtual memory?

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: linux-help@xxxxxxxxx
Subject: [linux-help] Re: How to get more virtual memory?
From: Jonathan Hall <jonhall@xxxxxxxxxxxx>
Date: Wed, 21 Jun 2000 11:05:18 -0500
Reply-to: linux-help@xxxxxxxxx

First, check to see how much is available by running the 'free' command at
the command line.  It will show something like:

             total       used       free     shared    buffers     cached
Mem:        128176     117128      11048      44960      48156      27080
-/+ buffers/cache:      41892      86284
Swap:       130748          0     130748

If your swap is full, you can add more simply by creating another swap
partition, then running mkswap to "format" it as swap space, then "mount" it
with "swapon /dev/????" or tell it to "mount" on every boot by adding it to
/etc/fstab.


On Wed, Jun 21, 2000 at 09:28:27AM -0500, Bates, Rod wrote:
> I am running a program on a large input file that
> runs out of virtual memory.   malloc is returning
> zero after having allocated ~248 meg.  I believe I
> have more swap space than this.  How do I increase
> the limit?   
> 
> -- This is the linux-help@xxxxxxxxx list.  To unsubscribe,
> visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi

--
Floppy disk tip #6: Periodically spray diskettes with insecticide to prevent
system bugs from spreading.....
--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  Jonathan Hall  *  jonhall@xxxxxxxxxxxx  *  PGP public key available
 Systems Admin, Future Internet Services; Goessel, KS * (316) 367-2487
         http://www.futureks.net  *  PGP Key ID: FE 00 FD 51
                  -=  Running Debian GNU/Linux  =-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-- This is the linux-help@xxxxxxxxx list.  To unsubscribe,
visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi


[Prev in Thread] Current Thread [Next in Thread]