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: John Phillips <jphillip@xxxxxxxxxxxxx>
Date: Sat, 24 Jun 2000 10:15:33 -0500 (CDT)
Reply-to: linux-help@xxxxxxxxx

You can also create a swap file without the bother of creating a swap
partition. It is a little slower than a swap partition, but for
a task of a few weeks, it is bearable.  You can also monitor swap
usable while the application is running with the 'top' command.
John Phillips


On Wed, 21 Jun 2000, Jonathan Hall wrote:

> 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
> 


-- 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]