Page 1 of 1

Export Crash - No Memory

PostPosted: Tue Aug 03, 2010 1:23 pm
by alanhalley
When I try to export 1,200 records, I get this error message:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 256 bytes) in /home2/tickets4/public_html/xataface/Dataface/Table.php on line 2500

I can export 250 records from another table without a problem. Do I need to increase the memory setting somewhere?

Thanks.

Alan

Re: Export Crash - No Memory

PostPosted: Wed Aug 11, 2010 9:54 am
by shannah
Currently the export tries to load all records into memory and output them. So large exports may be hard. This error indicates that you area allocating about 67 megs to PHP. You could probably up it to see if this gets you where you need to go. You could do this by adding the following to the beginning of your index.php file:

Code: Select all
ini_set('memory_limit', '128M');


e.g. for 128 megs.

-Steve