http://qs321.pair.com?node_id=1227969


in reply to perl is crashing due to memory leak when the template toolkit output is being dumped into an output file(xml file)

Can you post the output of "perl -v"?

And, if on a Unix like system, the output of "free", or if on Windows, the output (from a CMD window) of "systeminfo | findstr /C:Physical"

I'm curious if your Perl is 32 or 64 bit, and if you're running out of memory, or just using a lot.

  • Comment on Re: perl is crashing due to memory leak when the template toolkit output is being dumped into an output file(xml file)

Replies are listed 'Best First'.
Re^2: perl is crashing due to memory leak when the template toolkit output is being dumped into an output file(xml file)
by kimya8 (Novice) on Jan 03, 2019 at 12:09 UTC

    This is perl, v5.8.8 built for MSWin32-x86-multi-thread Copyright 1987-2006, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. Also I am using perl 32 bit not perl 64 bit as there is a certain code not compatible with perl 64.

      Okay, that's the first part.

      Can you also post the output of this: systeminfo | findstr /C:Physical

      Also curious what code/module isn't working in 64 bit Perl...

        Total Physical Memory: 32,689 MB Available Physical Memory: 23,282 MB The code that does not work is another code written elsewhere(again perl), but it is time consuming to get that working And i am unable to shorten the template file to get to a stage where it will be working. Thanks for all the help though. Really appreciate.