Re: PHPExcel
| From: | Dan Shirah | Date: | Thu, 03 Jul 2008 20:11:50 +0000 |
| Subject: | Re: PHPExcel | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-276267@lists.php.net to get a copy of this message | ||
I changed the max memory limit to 512MB and the max timeput to 60...
I'm trying to export a report that only has 3,600 rows and it still exceeds
my memory size/timeout.
any suggestions that I could make to my code to make it more efficient and
not use up so much memory?
On 7/3/08, Mario Guenterberg <mg@havelsoft.com> wrote:
>
> On Thu, Jul 03, 2008 at 02:36:18PM -0400, Dan Shirah wrote:
> > UGH!
> >
> > I am now constantly getting an error of "PHP Fatal error: Allowed memory
> > size of 16777216 bytes exhausted (tried to allocate 936 bytes) on line
> 689"
> >
> > Is there a way to continuously write to the file and avoid getting this
> > error?
>
> Hi Dan...
>
> change the value of memory_limit in your php.ini to a greater
> value than 16M.
>
> Greetings
> Mario
>
> --
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> GCS/CM d- s++: a+ C++++>$ UBL*++++$ P++ L+++ E--- W+++ N+ o-- K- w O- M-
> V-- PS++ PE++ Y PGP+++ t--- 5 X++++ R++ tv- b+++ DI D++++ G++ e* h----
> r+++ y++++
> ------END GEEK CODE BLOCK------
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>