Re: Debugging Out of Memory Errors

2005-01-26 Thread Stas Bekman
Ken Simpson wrote: Is there an equivalent in mod_perl 2? I guess it wasn't on the todo list, so we have missed it while porting mp1 core modules to mp2 It looks like it's trivial to port it to mp2. Feel free to port that and post a patch to include it in the mp2 core, or someone will do that lat

Re: Debugging Out of Memory Errors

2005-01-26 Thread Ken Simpson
> >Is there an equivalent in mod_perl 2? > > I guess it wasn't on the todo list, so we have missed it while porting mp1 > core modules to mp2 It looks like it's trivial to port it to mp2. Feel > free to port that and post a patch to include it in the mp2 core, or > someone will do that later.

Re: Debugging Out of Memory Errors

2005-01-26 Thread Stas Bekman
Ken Simpson wrote: 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:

Re: Debugging Out of Memory Errors

2005-01-26 Thread Ken Simpson
> 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? Sorry -- I meant to say, "Is there an equivalent in mod_perl 2.0". Thanks, Ken -- MailChannels: Assured