Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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 ( [id://1227970]=note: print w/replies, xml ) Need Help??


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

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.

  • Comment on Re^2: 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^3: 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:15 UTC

    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.

        Note that your 32-bit Perl can, on Windows, at most address 4GB of memory. Most likely it can only address 2GB of memory.

        Upgrading to 5.28 (or a more recent version of Perl) from http://strawberryperl.com/ will allow you to address more memory if you install a 64bit version.

        Sounds like 32bit Perl on 64 bit Windows then?

        You could try the trick outlined in this node: Memory usage in Perl on Windows systems to get 3GB available for Perl instead of 2GB. It's a workaround, but might help you until the data and/or template get bigger.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-19 00:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found