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
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
> 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
, 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
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
15 matches
Mail list logo