Page 1 of 1

PHP Memory Limit?

Posted: Sun Apr 27, 2014 11:53 pm
by SCelik
I've set 128MB memory in /etc/php.ini

But,

i'm getting Server 500 errors.

Code: Select all

PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 1698131 bytes).........
Let me understand this...

Server is trying to allocate 1.698.131 bytes (1.x MB) within allowed memory size of 134.217.728 (128MB) bytes?

How is this possible?

Re: PHP Memory Limit?

Posted: Mon Apr 28, 2014 8:05 pm
by SCelik
Any idea?

Re: PHP Memory Limit?

Posted: Tue Apr 29, 2014 10:27 am
by imperio
I think that problem with your site script

try to use 256 mb for php

Re: PHP Memory Limit?

Posted: Tue Apr 29, 2014 4:31 pm
by SCelik
But it fails for only 1mb there are 127mb free memory?