Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl
Debugging Out of Memory Errors
 

Index | Next | Previous | View Flat


ksimpson at ghpbjymdczr

Jan 26, 2005, 10:49 AM


Views: 875
Permalink
Debugging Out of Memory Errors

A module I wrote is somehow running out of memory and I need to find
out why and where the problem is occurring. Searching through the
archives, I discovered that in mod_perl 1.0 you could set the
Apache::Debug level to 4:

use Apache::Debug level => 4;
(see the mod_perl book: http://modperlbook.org/html/ch22_03.html)

Doing this would cause a special memory allocator to be used so that
Carp could print out a stack trace in the event of an out of memory
error.

Is there an equivalent in mod_perl?

Thanks,
Ken

--
MailChannels: Assured Messaging

--
Eliminate Critical False Positives
http://www.mailchannels.com
MailChannels Corporation
Suite 1600, 1188 West Georgia St.
Vancouver, BC, Canada

Ken Simpson, CEO
+1-604-729-1741

Sent by MailChannels: http://www.mailchannels.com

Subject User Time
Debugging Out of Memory Errors ksimpson at ghpbjymdczr Jan 26, 2005, 10:49 AM
    Re: Debugging Out of Memory Errors ksimpson at ghpbjymdczr Jan 26, 2005, 10:50 AM
    Re: Debugging Out of Memory Errors stas at stason Jan 26, 2005, 5:16 PM
        Re: Debugging Out of Memory Errors ksimpson at ghpbjymdczr Jan 26, 2005, 5:36 PM
            Re: Debugging Out of Memory Errors stas at stason Jan 26, 2005, 7:36 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.