Hey, I think the easiest way to solve this will be to increase the memory limit set in the php.ini file. Not sure if this is the best solution though.
On Tue, Mar 31, 2009 at 9:15 AM, Anton Khodakivskiy <[email protected] > wrote: > > Hi > > I'm using ZendGData 1.7.7 to edit a spreadsheet fro my php script. when I > try to insert a new row with the following code, php dies with the error > message > > Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to > allocate 35 bytes) in > /Users/anton/dev/ZendGdata-1.7.7/library/Zend/Gdata/App/Base.php on line > 430 > > Code: > > $client = Zend_Gdata_ClientLogin::getHttpClient($this->email, > $this->password, > > Zend_Gdata_Spreadsheets::AUTH_SERVICE_NAME); > $spreadsheets = new > Zend_Gdata_Spreadsheets($client, $this->app); > .... > $spreadsheets->insertRow($data, $key); > > The spreadsheet I'm working with contains over 40 columns and has about > 2000 > rows. > -- > View this message in context: > http://www.nabble.com/GData%3A-PHP-runs-out-of-memory-when-I-try-to-insert-a-new-row-into-a-Google-Spreadsheet-tp22799011p22799011.html > Sent from the Zend Framework mailing list archive at Nabble.com. > > -- Vincent Gabriel. Lead Developer, Senior Support. Zend Certified Engineer.
