Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: AIX vs. Linux memory use

by Melly (Hermit)
on Jan 29, 2007 at 16:41 UTC ( #597120=note: print w/ replies, xml ) Need Help??


in reply to AIX vs. Linux memory use

If you don't get anything more useful from the other monks, you might try running the script under the debugger and observing memory usage in a separate window to try and track down what's going on. Sorry I can't be more help...

map{$a=1-$_/10;map{$d=$a;$e=$b=$_/20-2;map{($d,$e)=(2*$d*$e+$a,$e**2 -$d**2+$b);$c=$d**2+$e**2>4?$d=8:_}1..50;print$c}0..59;print$/}0..20
Tom Melly, pm@tomandlu.co.uk


Comment on Re: AIX vs. Linux memory use
Download Code
Re^2: AIX vs. Linux memory use
by scunacc (Acolyte) on Jan 29, 2007 at 17:36 UTC
    Hi Tom,

    Thanks for the reply,

    Well, I think I *might* have narrowed it down. I think it may be worth a post on the cpan forum site for the module. I didn't go to the debugger, but I did do some incremental code removal in the Linux version.

    It *looks* like Text::Compare is leaking badly. I removed the call to that and that appears to have stabilized the memory at more or less the same as on AIX. What's interesting is to figure out why the difference.

    I thought it could be a version problem, but, no, the module versions look the same.

    Anybody else hit that?

    Kind regards, Derek.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://597120]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2014-10-23 05:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (124 votes), past polls