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
"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
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
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
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
> 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
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
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]#
); [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
> 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
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
> 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
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
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
14 matches
Mail list logo