linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Rik van Riel <riel@conectiva.com.br>
To: Vivian Wang <vivianwang@tcindex.com>
Cc: linux-mm@kvack.org
Subject: Re: memory exhausted
Date: Wed, 24 Apr 2002 23:19:50 -0300 (BRT)	[thread overview]
Message-ID: <Pine.LNX.4.44L.0204242318240.1960-100000@imladris.surriel.com> (raw)
In-Reply-To: <5.1.0.14.2.20020424145006.00b17cb0@notes.tcindex.com>

[mailing list address corrected ... won't people ever learn to read ?]

On Wed, 24 Apr 2002, Vivian Wang wrote:

> I try to sort my 11 GB file, but I got message about memory exhausted.
> I used the command like this:
> sort -u file1 -o file2
> Is this correct?

Yes, sort only has a maximum of 3 GB of virtual address space so
it will never be able to load the whole 11 GB file into memory.

> What I should do?

You could either write your own sort program that doesn't need
to have the whole file loaded or you could use a 64 bit machine
with at least 11 GB of available virtual memory, probably the
double...

regards,

Rik
-- 
Bravely reimplemented by the knights who say "NIH".

http://www.surriel.com/		http://distro.conectiva.com/

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

       reply	other threads:[~2002-04-25  2:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5.1.0.14.2.20020424145006.00b17cb0@notes.tcindex.com>
2002-04-25  2:19 ` Rik van Riel [this message]
2002-04-25  2:57   ` William Lee Irwin III
2002-04-25  4:21     ` msimons
2002-04-27 19:30     ` H. Peter Anvin
2002-04-27 20:38       ` William Lee Irwin III
2002-04-27 20:52         ` H. Peter Anvin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.44L.0204242318240.1960-100000@imladris.surriel.com \
    --to=riel@conectiva.com.br \
    --cc=linux-mm@kvack.org \
    --cc=vivianwang@tcindex.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox