Hi,
Jorge Horacio Cué Cantú , thanks for sharing. I have similiar problem
with you , so where i can places this code "ini_set('memory_limit',
'*256M*'); '?
on core.php?

On Nov 29 2009, 9:05 am, Jorge Horacio Cué Cantú <[email protected]>
wrote:
> Bether,
>
> You can increase the memory limit in a per action basis using the following
> function:
>
> ini_set('memory_limit', '*256M*');
>
> This can be in your action function, so the memory limit is set just in the
> functions that require this increase memory usage and let as default all
> other actions.
>
> For example I have an _export() function in my app_controller that allow me
> to export the result of a find() to an Excel file, and in this case I set
> the memory limit just before creating the Excel class. I works well. Of
> course the value (256M in the example)  is up to You, check the PHP
> documentation for the memory_limit setting.
>
> Regard.
>
> 2009/11/26 Braindead <[email protected]>> I got the same error while 
> creating an Excel file with many rows and
> > columns. So I guess the error is related to processing to much data.
> > You can either increase the memory limit or decrease the amount of
> > data to process.
>
> > Hope that helps.
> > Markus
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others
> > with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups
> > "CakePHP" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]<cake-php%[email protected]>For
> >  more options, visit this group at
> >http://groups.google.com/group/cake-php?hl=en
Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to