Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Oct 2007 09:29:07 -0400
From:      Bart Silverstrim <bsilver@chrononomicon.com>
To:        Steve Bertrand <iaccounts@ibctech.ca>
Cc:        "Heiko Wundram \(Beenic\)" <wundram@beenic.net>, freebsd-questions@freebsd.org
Subject:   Re: Managing very large files
Message-ID:  <47063C23.5080701@chrononomicon.com>
In-Reply-To: <47054C2E.8040304@ibctech.ca>
References:  <4704DFF3.9040200@ibctech.ca>	<20071003200013.GD45244@demeter.hydra>	<47054A1D.2000701@ibctech.ca>	<200710042222.25488.wundram@beenic.net> <47054C2E.8040304@ibctech.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Steve Bertrand wrote:
> Heiko Wundram (Beenic) wrote:
>> Am Donnerstag 04 Oktober 2007 22:16:29 schrieb Steve Bertrand:
>>> This is what I am afraid of. Just out of curiosity, if I did try to read
>>> the entire file into a Perl variable all at once, would the box panic,
>>> or as the saying goes 'what could possibly go wrong'?
>> Perl most certainly wouldn't make the box panic (at least I hope so :-)), but 
>> would barf and quit at some point in time when it can't allocate any more 
>> memory (because all memory is in use). Meanwhile, your swap would've filled 
>> up completely, and your box would've become totally unresponsive, which goes 
>> away instantly the second Perl is dead/quits.
>>
>> Try it. ;-) (at your own risk)
> 
> LOL, on a production box?...nope.
> 
> Hence why I asked here, probing if someone has made this mistake before
> I do ;)

Isn't that what VMWare is for? ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47063C23.5080701>