Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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,

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://597120]
[marto]: good morning all
[karlgoethebier]: hi marto

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2017-12-13 12:24 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (362 votes). Check out past polls.