Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by kschwab (Vicar)
on Jan 03, 2019 at 12:05 UTC ( #1227969=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2021-09-27 14:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?