[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Net::SMTP and Big/PPC MacPerl



At 5:35 PM -0600 on 1/31/97, Tim Guinn wrote:


}>Do you have the memory partition set high enough on both?
}
}"both" meaning MacPerl itself *and* the droplet? The MacPerl partition

Both meaning both machines.

}on both machines is substantial enough that I can run simple s///-type
}droplets on 5+MB text files w/o any problem. Different operation, I know,
}but considering the test messages I'm sending are only one liners, or at
}most maybe 15-20 lines generated by Kant Generator Pro (fun for
}generating gibberish to experiment on), I figured the "Out of Memory!"
}warning was bogus.

On the contrary, it was probably a correct diagnosis of the cause of your
problem.  The rest of it was probably bogus.

}
}FWIW, at least on my Q610, the 'smptr' droplet has a 64k partition and
}MacPerl has 2560k. Can't check on the PPC's version, just now.

Too low, probably much too low.  The droplet doesn't matter, but you should
try at least 4Mb for MacPerl itself.  I run with 6 Mb on both my 68k and
PPC machines, although with Ram Doubler on both (i.e., the PPC is file
mapping, since it rarely uses more than its 32 Mb of the real stuff), the
PPC MacPerl uses up less of its partition.  As Matthias said, "use
Net::SMTP" causes all sorts of things to happen.  Try stepping through
(using "s") just that statement in the debugger some time.  I use a Control
Strip module on both my machines (can't remember where I got it at the
moment, probably Info-Mac) which shows the total and amount free that the
frontmost application uses.  You'd be surprised what happens when a simple
Perl script runs.  My scripts that use libwww-perl-5 typically use over 4
Mb on the 68k, and if Net::FTP gets involved for an ftp URL, it goes up to
over 5 Mb.


--------
Paul J. Schinder
NASA Goddard Space Flight Center
Code 693
Greenbelt, MD 20770
schinder@pjstoaster.pg.md.us