Posted by Kimmo Laine on 04/17/07 08:08
"Kimmo Laine" <spam@outolempi.net> wrote in message
news:7O_Uh.37880$jp4.16176@reader1.news.saunalahti.fi...
> Hi!
>
> We've encountered a strange problem concerning memory usage. In the
> previous install the maximum memory amount per page was limited to 8 MB
> and it was never reached. Now, after upgrading both hardware and software,
> running the same scripts that used to be fine with 8 MB hit the roof all
> the time. The maximum memory allocation was set to 128 MB and still PHP
> encounters fatal errors with allowed memory size exhausted. Pardon my
> french, but what the fuck is this? Is there a possibility that there is
> some memoryleak bug in php or what?
Okay, please ignore. Turned out I had a funny little bug in a test SQL query
that instead of 1 row selected all 70k rows which indeed caused the issue.
Oh boy is my face red now... ^_^
--
"Ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" - lpk
http://outolempi.net/ahdistus/ - Satunnaisesti pδivittyvδ nettisarjis
spam@outolempi.net | rot13(xvzzb@bhgbyrzcv.arg)
[Back to original message]
|