How to get around strawberry Perl "out of memory" error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jrkelley32
    New Member
    • Apr 2007
    • 4

    #1

    How to get around strawberry Perl "out of memory" error

    I'm using Strawberry Perl to run awstats and encountering an "out of memory" error. Is there a configuration I can change to boost memory? There is plenty available on the machine.
  • RonB
    Recognized Expert Contributor
    • Jun 2009
    • 589

    #2
    This is not a configuration issue with Perl. The problem is that the awstats script is doing something it shouldn't, i.e., is using the wrong method to accomplish some tasks.

    Comment

    • jrkelley32
      New Member
      • Apr 2007
      • 4

      #3
      Here is a note on http://taletellin.selm aalabama.com/awstats/docs/awstats_faq.htm l#OU

      This led me to look at it as a strawberry Perl config issue.

      FAQ-SET750 : AWSTATS RUN OUT OF MEMORY DURING UPDATE PROCESS WITH CYGWIN PERL
      PROBLEM:
      When I run the update process on a large log file with cygwin Perl, AWStats run out of memory but I am sure that I have enough memory to run AWStats according to the 'memory' column in benchmark chart available in AWStats documentation (benchmark page).
      SOLUTION:
      It might be a limit inside Cygwin Perl. Try to increase the Cygwin parameter heap_chunk_in_m b.

      Comment

      • RonB
        Recognized Expert Contributor
        • Jun 2009
        • 589

        #4
        I've never adjusted that parameter but it's most likely a build parameter, which mean that you'll probably need to recompile cygwin.

        What version of cygwin and perl are you using?

        How much memory do you have?

        How big is the log file?

        Comment

        • jrkelley32
          New Member
          • Apr 2007
          • 4

          #5
          I'm actually using Strawberry Perl but was wondering what the corresponding config would be for that. I have 8 Gigs of memory, but Strawberry is a 32 bit so 4 is available for it, but it aborts when only using a couple hundred meg.

          Comment

          Working...