I’m afraid it’s not possible to give you an answer on this. It depends upon too many other factors.
Thread Starter
wkk
(@wkk)
Well I don’t need an accurate answer, just the worst case should be enough to know in wich range of memory use I’m working.
Or another aproximation could be to know how many scripts of this set-up do allocate memory. I always get a similar error: exceded maximum of 64MB when script X tried to allocate 380K (aprox). Rounded to 400K I get about 164 scripts should be allocating memory to run out 64MB.
Is that a normal number of scripts? Just to get an idea…
Thank you in advance!
Regards.
We cannot give you any answer. There are too many factors.
Thread Starter
wkk
(@wkk)
Ok, if it’s not possible to calculate it, is there any service to measure it in real time? I mean, like put an url to a website and get statistics in this case about memory usage (just wondering, I don´t know if that exists).
I don’t want to annoy with this issue, but I feel is strange that even login page runs out of memory. It’s just… a login page can require over 64MB of memory? That seems a lot for a form apparently quite simple (just a feeling I can’t really affirm this since I don’t know wp core in detail).
This problem blocks my web administration and also when it works, I’m afraid to update anything so my web is going to fail when I refresh. I’m quite desperate to get a solution…
Thank you in advance.
Best regards!
is there any service to measure it in real time?
Not as far as I am aware.
First, go under Wordfence -> Options
At the end of the page you can set how much memory this plugin can use and also test your host’s memory in real time.
– My Configuration –
Maximum memory Wordfence can use – 256 Megabytes
– My Test with many other plugins –
Current maximum memory configured in php.ini: 64M
Current memory usage: 45.50M
And i run everything correctly!
Thread Starter
wkk
(@wkk)
Just if somebody has the same problem, my hosting reccomended me to add the following line in .htaccess file:
php_value memory_limit 128M
It seems to work fine, so I think not only limit of 64M was fake but also I was surpassing a higher memory limit (whatever it was). They’ve told me to take care about plugins that use cache, maybe it was corrupted so that caused the problem.
Where can I learn more about wordpress cache? Specially how to clean it if I get the same problem again.
Thank you very much. I hope this info will be useful for other users.
Regards.
Thread Starter
wkk
(@wkk)
Thank you for your info Marco (didn’t see your answer ’till I replied, sorry!). I’ve already done that before I decided to deactivate wordfence. I’ve got the memory problem without this plugin so in my case I think it was more a structural question (maybe corrupted cache as my hosting suggested me).
Best regards.