Fatal error storing serialized data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to store in a file serialized data array with 7,935 lines.

*Fatal error*:
Allowed memory size of 8388608 bytes exhausted (tried to allocate 128 
bytes)
in *.../api/api_functions.php* on line *830

That line is:
        $data = ExecuteQuery($sql);
        $fp = fopen($filename, "w");
        fputs($fp, serialize($data)); // HERE is the line 830
        fclose($fp);

What can I do to fix that?

*


PHP Data object relational mapping generator
http://www.metastorage.net/ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux