Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 May 1997 16:38:57 -0400 (EDT)
From:      Steve <shovey@buffnet.net>
To:        Steve Howe <un_x@anchorage.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Weird perl problem
Message-ID:  <Pine.BSI.3.95.970504163815.3214E-100000@buffnet11.buffnet.net>
In-Reply-To: <Pine.BSF.3.95q.970504014424.21505B-100000@aak.anchorage.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 4 May 1997, Steve Howe wrote:

> On Sun, 4 May 1997, Steve wrote:
> 
> i noticed while opening a few Megs of text files with "joe" editor,
> my terminal went completely nut, shell and everything, and i have
> to exit to the login prompt to regain control.  i'm not an expert
> on BSD RAM usage, but i something goes nuts when it gets amxed out.
> i think perl sucks in that file as one long string into memory.
> i wonder if it would crash if you chopped the file in 2 or 4 ...

The thing is, it load the data and does the math, and is done with the
file.  Its when it print out what it found is when it chokes - and at 8192
bytes.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.95.970504163815.3214E-100000>