Version: , by misr.cc
Developer Last Online: May 2012
Version: Unknown
Rating:
Released: 12-31-2007
Last Update: Never
Installs: 0
No support by the author.
I got this error when i try to install vb
PHP Code:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 185 bytes) in /home/XXXXXX/public_html/includes/class_xml.php on line 450
any help ??:erm:
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
It is a simple setting change in your php.ini file. The varialbe is 'memory_limit'. The stock value is 8m. Bump it up to 16m. Be sure to restart your web server to reload the PHP config, if you are running PHP as a module.
Remember too that Google is your friend. You can search for just about any error any software can generate (The generic part of the rror, not your server path) on Google and find plenty of other people who have had the same problem and solved it. That is how I discovered the memory_limit setting years ago, when I first got that error myself. Eric
I think the right value depends on the server in question and what is running on it. I bumped the setting up enough to keep vBulletin from tripping over it. Having the figure set too high could probably be an issue in the event of a php script exploit or a problematic process. Have you encountered something in vB that needs the memory_limit to be set that high? If there is, I would appreciate knowing about it. I have only been running the 3.X branch of vB for a few months now. I doubt if I've tripped all the landmines yet.
BTW misr.cc, there is a time limit variable located right by the memory_limit variable. This can be a problem for long, large processes. I don't know that this could be a problem for vB, but I have had problems with this variable with shopping cart conversion and upgrade processes. I don't know that it needs to be adjusted for you now, but be aware of it. Eric
It is a simple setting change in your php.ini file. The varialbe is 'memory_limit'. The stock value is 8m. Bump it up to 16m. Be sure to restart your web server to reload the PHP config, if you are running PHP as a module.
Remember too that Google is your friend. You can search for just about any error any software can generate (The generic part of the rror, not your server path) on Google and find plenty of other people who have had the same problem and solved it. That is how I discovered the memory_limit setting years ago, when I first got that error myself. Eric
Quote:
Originally Posted by TECK
Actually the right value is 128MB.
Quote:
Originally Posted by EricGT
I think the right value depends on the server in question and what is running on it. I bumped the setting up enough to keep vBulletin from tripping over it. Having the figure set too high could probably be an issue in the event of a php script exploit or a problematic process. Have you encountered something in vB that needs the memory_limit to be set that high? If there is, I would appreciate knowing about it. I have only been running the 3.X branch of vB for a few months now. I doubt if I've tripped all the landmines yet.
BTW misr.cc, there is a time limit variable located right by the memory_limit variable. This can be a problem for long, large processes. I don't know that this could be a problem for vB, but I have had problems with this variable with shopping cart conversion and upgrade processes. I don't know that it needs to be adjusted for you now, but be aware of it. Eric
Eric And TECK
thanx so much for your help
i tell my host and send him
the link of this topic and
he should resolve it ....