Re: Out of memory on file merge

2002-10-03 Thread Michael Fowler
On Thu, Oct 03, 2002 at 03:04:07PM -0400, Rob Das wrote: > Is there a reasonable check for memory I can use to see what's available > compared to the file size? I don't know of a portable method for checking your memory. However, even if there were a way, why would you want to go that route? I

RE: Out of memory on file merge

2002-10-03 Thread Rob Das
ECTED]] Sent: Thursday, October 03, 2002 11:25 AM To: Janek Schleicher; [EMAIL PROTECTED] Subject: Re: Out of memory on file merge On Thursday 03 Oct 2002 5:20 pm, Janek Schleicher wrote: > Rob Das wrote at Thu, 03 Oct 2002 15:01:31 +0200: > > Hi all: > > > > I have a script

Re: Out of memory on file merge

2002-10-03 Thread Gary Stainburn
On Thursday 03 Oct 2002 5:20 pm, Janek Schleicher wrote: > Rob Das wrote at Thu, 03 Oct 2002 15:01:31 +0200: > > Hi all: > > > > I have a script that is merging many files into a new file, by reading > > one at a time and adding to the new one. The error I received was "Out of > > memory during re

Re: Out of memory on file merge

2002-10-03 Thread Janek Schleicher
Rob Das wrote at Thu, 03 Oct 2002 15:01:31 +0200: > Hi all: > > I have a script that is merging many files into a new file, by reading one > at a time and adding to the new one. The error I received was "Out of memory > during request for 1016 bytes, total sbrk() is 1186891848 bytes!" (I did not

Out of memory on file merge

2002-10-03 Thread Rob Das
Hi all: I have a script that is merging many files into a new file, by reading one at a time and adding to the new one. The error I received was "Out of memory during request for 1016 bytes, total sbrk() is 1186891848 bytes!" (I did not add the "!"...). This is on a Sun box with 4 Gig, typically