🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.perl
Article #9

Re: replejs

#9
From: Zbigniew Zych
Date: Sun, 22 Dec 1996 12:45
27 lines
1465 bytes
In pl.comp.lang.perl Piotr Piatkowski <kompas@galaxy.uci.agh.edu.pl> wrote:
> Ciekawe pytanie... Zrobiłem eksperyment:
> bash$ perl -e '$x = "-" x 10000000'

To może być ciekawe....

~$ time perl -e '$x = "-" x 10000000'
0.91user 3.22system 0:12.13elapsed 34%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+0minor)pagefaults 0swaps

> bash$ perl -e '$x = "-" x 50000000'
> Out of memory!

~$ time perl -e '$x = "-" x 50000000'
Out of memory!
Command had non-zero exit status 1
2.73user 6.00system 0:22.54elapsed 38%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+0minor)pagefaults 0swaps

A może to ograniczenia w perlu???

Maszynka: 2 procesorowa, 64MB RAM, Linux.

Wesołych Świąt i Szęśliwego Nowego Roku!
Zbigniew Zych
--
Optimus SA Oddział Kraków,   administrator sieci,   http://onet.pl/~zych/
Technical Details
Message-ID: <59jaho$sc5$5@bit.onet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!news.icm.edu.pl!uw.edu.pl!news.nask.pl!bit.onet.pl!bit.onet.pl!not-for-mail
References: <59hd52$at2@galaxy.uci.agh.edu.pl> <59i2e7$qm1@galaxy.uci.agh.edu.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!news.icm.edu.pl!uw.edu.pl!news.nask.pl!bit.onet.pl!bit.onet.pl!not-for-mail
From: Zbigniew Zych <zych@onet.pl>
Newsgroups: pl.comp.lang.perl
Subject: Re: replejs
Date: 22 Dec 1996 12:45:44 GMT
Organization: OptimusNET, Krakow
Lines: 27
Message-ID: <59jaho$sc5$5@bit.onet.pl>
References: <59hd52$at2@galaxy.uci.agh.edu.pl> <59i2e7$qm1@galaxy.uci.agh.edu.pl>
NNTP-Posting-Host: bit.onet.pl
Mime-Version: 1.0
X-Newsreader: TIN [UNIX 1.3 unoff BETA release 961126]
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit