News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Blank white page - Allowed memory size of 134217728

Started by berd27, October 11, 2013, 18:22:44 PM

Previous topic - Next topic

berd27

Hi,

I have the following problem, I have about 15 categories and several subcategories added, so far so good, but now when i want to add category number 16 I get a blank white page. So i checked the logfiles what happend. The log files gives me everytime i want to add a new category the following error:

Allowed memory size of 134217728 bytes exhausted (tried to allocate 17440 bytes)

I have set the server to 128 MB of memory which should be more than enough, after some Google search i found out that this is often caused by bad programming.

"This helps prevent poorly written scripts for eating up all available memory "
http://www.php.net/manual/en/ini.core.php#ini.memory-limit

So what is going on here? I can set 128 MB to 256 MB but when I raised this limit then the server from memory by running a PHP script to query several times

-- cheers --
BerD

Maxim Pishnyak

Bad written scripts should be any complex scripts like shopping cart systems I must admit. Complexity is not bad thing in e-commerce you know.

Yes, you should use 256 MB.
Quote from: berd27 on October 11, 2013, 18:22:44 PM
I can set 128 MB to 256 MB but when I raised this limit then the server from memory by running a PHP script to query several times
I don't understand you.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

berd27

Thanks for the reply.

What i mean is the following:

If I increase the memory then the server can run out of memory because of when the PHP script is request several times

--cheers--

Maxim Pishnyak

Could I see error for 256 Mb case? Is it clean Joomla 2.5 with VM 2.0.24?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

berd27

Yes, it is a clean Joomla 2.5.X with Virtuemart 2.0.24. I did not increase the memory yet, i only get this error on the 128MB.
But i think it is very strange that it uses that much amount of memory for just adding category.

jenkinhill

Joomla 2.5 does work best on 256Mb even without VirtueMart. Previously a reason for memory issues while adding a product or category has been that the image file size was too big.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

berd27

Quotethe image file size was too big.

Do you mean the image file of the uploaded category / product image?

jenkinhill

#7
Any of them, depending on what was being saved at the time. Otherwise, turning on Joomla error reporting and VM debug may help track the issue.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum