VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Bad_Linhat on June 04, 2013, 12:43:00 PM

Title: memory problem
Post by: Bad_Linhat on June 04, 2013, 12:43:00 PM
Hi all,

i run Joomla! 2.5.8 Stable and Virtuemart 2.0.20b
PHP Version 5.3.13

I start to have the following error:

"Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 128 bytes) in .../public_html/libraries/joomla/database/database/mysqli.php on line 500"

when i go to the Virtuemart user account maintenance page (that I use for the user registration) and on each products detail page.


I have tried to increase the memory with ini_set('memory_limit','128M') on both the mysqli.php page and the .htaccess file, but the error remain (I have no access on file php.ini).

I cannot believe that a single php script can use more than 128M of memory !
Title: Re: memory problem
Post by: Milbo on June 04, 2013, 16:48:58 PM
The normal accountmaintance in the FE takes less than 12 MB. There must be something else.
Title: Re: memory problem
Post by: Bad_Linhat on June 05, 2013, 09:58:31 AM
I think the same.
I have turned on debug mode and all the pages consume about 15/16 M.
A simple page like the Account Maintenance cannot consume such amount of memory.
I have never modified that page.
Maybe there's a problem on the database but I cannot find anything....