Page 1 of 1

Submitting solution for level 1006 results in out of memory

Posted: Thu May 05, 2011 9:15 am
by Tron
I try to submit a solution for level 1006, but as result I get the following error:
Fatal error: Allowed memory size of 94371840 bytes exhausted (tried to allocate 32 bytes) in /home/hacker_apache/html/hacker/html/coil/coil.php on line 157
I verified my solution locally and it seems to be correct. The server does not accept my answer and so I cannot proceed.
I already got this error at level 1005, but there the answer was accepted and I could proceed to level 1006.
Now I'm stuck at level 1006.

Posted: Thu May 05, 2011 5:57 pm
by adum
i'll take a look at this today. see if i can make the checker more memory efficient...

i'm curious to see if you can catch up to me in coil :)

Posted: Fri May 06, 2011 11:05 pm
by adum
this has now been fixed... who knew that PHP could leak so much memory just adding integers in a loop!

Posted: Wed May 11, 2011 6:01 am
by MrTerry
(offtopic) :
seems to be a race now :)
who will be king of the coil? adum or tron? :D

Posted: Thu May 12, 2011 6:49 pm
by adum
seems like Tron has the edge right now... but i'm not giving up the fight just yet :)