On Fri, Oct 30, 2009 at 10:51 PM, Matt Cockayne
<[email protected]> wrote:
>
> Hi.
> I'm trying to bootstrap a module using the modules resource. However when
> ever I try I hit my memory limit. I have increased the limit to in excess of
> 500M and still getting problems.
>
> This happens even whenthe module I'm trying to load is just outputting some
> html.
>
> As soon as I disable the modules resource everything is fine.
>
> Has anyone else had these problems.  Or can someone point me in the right
> direction of how to fix this.
>
> I'm using v1.9.4 of the framework and am using the instructions in the ref
> guide

I'd suggest you install Xdebug and enable the profiler to track memory
usage and execution time. Otherwise it's hard to troubleshoot your
issue. Xdebug is also useful since it provides a full stack trace.

I know that we are running with 128 MB currently and it's going pretty
well. I can't imagine you would really need 500 MB to satisfy your
app. I'm (only) guessing, but maybe you caught a loop somewhere or a
giant result set, or something similar.

Till

Reply via email to