Re: 64 bit Perl memory test...

2003-12-05 Thread david
R. Joseph Newton wrote: > "NIPP, SCOTT V (SBCSI)" wrote: > >> Very interesting... Running this script it dies at the 800MB >> attempt. However, watching this process in top, memory usage is actually >> double the amount that is being tested. In top, the last memory amount >> prior to i

Re: 64 bit Perl memory test...

2003-12-05 Thread R. Joseph Newton
"NIPP, SCOTT V (SBCSI)" wrote: > Very interesting... Running this script it dies at the 800MB > attempt. However, watching this process in top, memory usage is actually > double the amount that is being tested. In top, the last memory amount > prior to it dying is 1400MB. > Could be th

RE: 64 bit Perl memory test...

2003-12-04 Thread NIPP, SCOTT V (SBCSI)
PROTECTED] Web: http:\\ldsa.sbcld.sbc.com -Original Message- From: david [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 2:17 PM To: [EMAIL PROTECTED] Subject: RE: 64 bit Perl memory test... Scott V Nipp wrote: > Will this tell me how much memory is used at the point

RE: 64 bit Perl memory test...

2003-12-04 Thread NIPP, SCOTT V (SBCSI)
PROTECTED]; [EMAIL PROTECTED] Subject: RE: 64 bit Perl memory test... > Will this tell me how much memory is used at the point > of failure? See code. > > Unfortunately, there is no /dev/random in HP-UX. But there is a /dev/zero use strict; $|++; my $mem; my $bigbuf; my $buf; op

RE: 64 bit Perl memory test...

2003-12-04 Thread david
Scott V Nipp wrote: > Will this tell me how much memory is used at the point of failure? no, it does not. you will have to do that manually. either watch the script in top or ps or write something like: #!/usr/bin/perl -w use strict; my $m = 1024 * 1000; my $i = ''; for($m * 100, $m * 200, $m

RE: 64 bit Perl memory test...

2003-12-04 Thread Bakken, Luke
> Will this tell me how much memory is used at the point > of failure? See code. > > Unfortunately, there is no /dev/random in HP-UX. But there is a /dev/zero use strict; $|++; my $mem; my $bigbuf; my $buf; open IN, '/dev/zero' or die "Can't open random device: $!"; while( $mem += read(I

RE: 64 bit Perl memory test...

2003-12-04 Thread NIPP, SCOTT V (SBCSI)
PROTECTED] Subject: RE: 64 bit Perl memory test... Scott V Nipp wrote: > Unfortunately, there is no /dev/random in HP-UX. fortunately, you don't need /dev/random. any of the following should eat up all of your machine's memory sooner or later: [panda]# perl -e '$#a={}' [pa

RE: 64 bit Perl memory test...

2003-12-04 Thread david
Scott V Nipp wrote: > Unfortunately, there is no /dev/random in HP-UX. fortunately, you don't need /dev/random. any of the following should eat up all of your machine's memory sooner or later: [panda]# perl -e '$#a={}' [panda]# perl -e '$a[{}]=1' [panda]# perl -e '$#a+=0x while 1' [panda]#

RE: 64 bit Perl memory test...

2003-12-04 Thread NIPP, SCOTT V (SBCSI)
); [EMAIL PROTECTED] Subject: RE: 64 bit Perl memory test... > how they were monitoring and/or determining this. Basically, > I would like > help with a Perl test script to use memory until Perl reaches > it's memory > limit. This will help me to know when I have things righ

RE: 64 bit Perl memory test...

2003-12-04 Thread Bakken, Luke
> how they were monitoring and/or determining this. Basically, > I would like > help with a Perl test script to use memory until Perl reaches > it's memory > limit. This will help me to know when I have things right so > I don't have > to keep going back to the end users and tell them "OK, try

Re: 64 bit Perl memory test...

2003-12-04 Thread Casey West
It was Thursday, December 04, 2003 when Bakken, Luke took the soap box, saying: : > It was Thursday, December 04, 2003 when Bakken, Luke took the : > soap box, saying: : > : > how they were monitoring and/or determining this. Basically, : > : > I would like : > : > help with a Perl test script t

RE: 64 bit Perl memory test...

2003-12-04 Thread Bakken, Luke
> It was Thursday, December 04, 2003 when Bakken, Luke took the > soap box, saying: > : > how they were monitoring and/or determining this. Basically, > : > I would like > : > help with a Perl test script to use memory until Perl reaches > : > it's memory > : > limit. This will help me to know

[First Response Service] Re: 64 bit Perl memory test...

2003-12-04 Thread Casey West
Hi. I'm in the employ of Casey West, a list admin, to assist you with your question. I've taken the liberty to search Google using the Subject line you provided in your email to the list. I hope one of the links below will be of service to you. Sadly Google hasn't given us a nice, legal API for s

Re: 64 bit Perl memory test...

2003-12-04 Thread Casey West
It was Thursday, December 04, 2003 when Bakken, Luke took the soap box, saying: : > how they were monitoring and/or determining this. Basically, : > I would like : > help with a Perl test script to use memory until Perl reaches : > it's memory : > limit. This will help me to know when I have th