It looks like this feature is totally broken. In PHP config I have set 256MB memory limit I don't use any opcode cache until I fix this issue.
In ext app for PHP 5 soft limit was 450 and now I raised it to 600MB.
And if I check logs I see there is 128mb memory limit.
[31-Jan-2012 13:39:25] PHP Fatal error: Out of memory (allocated 122683392) (tried to allocate 20314 bytes) in /home/site/public_html/libraries/joomla/database/database/mysql.php on line 462
My memory stats:
total used free shared buffers cached
Mem: 3927 3665 261 0 185 1931
-/+ buffers/cache: 1548 2378
Swap: 2047 215 1831
EDIT: now I raised soft to 600 and hard to 800 I get that I'm hitting limit at 256MB.
Memory_limit in PHP is 256MB.
[31-Jan-2012 14:45:48] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 24 bytes) in /home/site/public_html/libraries/joomla/database/database/mysql.php on line 462,
Memory_limit in PHP is raised to 384MB, so now I will see what will happen.
Last edited by Bono; 01-31-2012 at 06:55 AM..