AnsweredAssumed Answered

out of memory error in FM API file

Question asked by njem on Feb 17, 2015
Latest reply on Feb 17, 2015 by Malcolm

We're trying to figure out what's going on with our php to FM code. Maybe it's internet errors not being handled well or maybe something else is going on but our php code makes some calls to FM and they just never return. But a couple of times we have had something happen that may be a clue but not sure what to make of it. After a long delay we get:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 61135474 bytes) in /home1/wordprs3/public_html/bowl/wp-content/themes/bowl/page templates/FileMaker/Implementation/FileMakerImpl.php on line 373



That's referencing an FM API file and the code at line 373 is the first line of this bit:

$Vd1fc8eaf = curl_exec($Vd88fc6ed);

$this->_setClientWPCSessionCookie($Vd1fc8eaf);

if ($V81c939b1)

{

 

Does anybody in FM know what's going on at this point that it could get into a state where it sucks up memory till it errors? It looks like it's trying to allocate 61M for something and this is a line about a cookie. Is there communication corruption and it's in a loop adding space to this cookie it wants to make? Just trying to get clues.

 

Thanks.

Outcomes