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

64 bit Perl memory test...

2003-12-04 Thread NIPP, SCOTT V (SBCSI)
I have been asked to get a 64bit version of Perl compiled and working under HP-UX 11i. I have found some helpful hints on actually compiling this successfully. The reason for the 64bit version is memory utilization. My users have a script that processes an Oracle database of about 15 mil

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
, legal API for searching newsgroups, so you may also want to try these searches. http://groups.google.com/groups?q=Perl+64+bit+Perl+memory+test%2E%2E%2E http://groups.google.com/groups?q=64+bit+Perl+memory+test%2E%2E%2E+group%3Acomp.lang.perl.* If you didn't get any useful results below, t

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