![]() |
Strange error message that I do not understand
Hi,
I'm getting this strange error: Code:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 363321 bytes) in /var/www/html/forum/includes/vba_cmps_include_top.php(526) : eval()'d code on line 343 This is the link that generates the error Any idea what this means? thanks remoras |
Ask your host to increase the memory limit, or disable the modifications that are causing this problem.
|
As your forum isnt open to guests, its kinda useless to post a link.
This is typically a mysql issue as a result of not being able to allocate enough ram to execute the query. If this is a dedicated server, adjust your my.cnf settings and restart mysql. |
Quote:
Should I contact my host? Or is this something I can do myself? |
As i said, if its a dedicated server you can, if its a virtual hosted site, then the host needs to address the issue and resolve it for you.
Typically that error is the fact that mysql tried to allocate more ram than the system has for it to use. |
This is not a MySQL error.
|
ok thanks, I'll mail my host.
cheers |
Unfortunately Marco, i would disagree with you, it is a mysql issue and not a memory_limit issue with php.
|
Then please point me to the place in the MySQL manual where this error is discussed.
(I can always be wrong, but this is not a MySQL error, but a webserver/PHP error). |
Sorry Snakes, but you are wrong - that's a PHP memoery error, nothing to do with mysql.
|
ok, how do I solve it?
|
See post #2
|
Quote:
you are BOTH correct in that his issue can be resolved and it can be resolved in two different ways. Everyone is always quick to resolve it by upping the PHP memory limit, but this isn't the only way to resolve the issue. It can also be resolved by upping the memory limit for mysql itself without upping the PHP memory limit. This is often done for for systems with little memory.. here is an example of a my.cnf for upping the memory limit for MySQL without having to up the PHP limit ... Code:
# Example mysql config file for small systems. |
@bobster
MySQL can also give memory errors, but the error message looks different. The error as posted in the first post is not a MySQL error! |
My name is Floris and I approve of post #2. ;)
|
Quote:
It can be resolved by upping the php memory limit and it can also be resolved by upping the MySQL Memory limit. I've had dealt with this exact issue and have resolved it and test it both ways and both work just fine. I just wanted to chime in to say that its not right to say someone is wrong when they did bring up something that is in fact correct. The "Popular" answer is to up the PHP Mem limit, that doesn't mean its the "correct" way or "only" way.. |
ok, I'll mail our host and show them this post.
Hopefully they can fix this. What if they refuse to increase the memory? |
It is not correct. You can not resolve the issue/error as posted in the first post of this thread by changing your MySQL configuration.
Quote:
|
I am getting confused :|
--------------- Added [DATE]1211548774[/DATE] at [TIME]1211548774[/TIME] --------------- Something strange happened. I opened the forum for public so you guys could see the error but the error does not appear when you're a guest. I logged back in and the error came back. Forum is open for public, see here: http://www.pokerclub.be/forum/showthread.php?t=7904 And here is the error again, maybe it changed. Code:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 364196 bytes) in /var/www/html/forum/includes/vba_cmps_include_top.php(526) : eval()'d code on line 343 |
Quote:
|
@bobster, this is the reason i didnt reply back to marco or pauls post, let it go, no need to argue with either of those two, they think they are right and nothing will change their minds.
I see this a lot when im optimizing servers, especially on a vps, no matter how high you set php's memory_limit, mysql is just using to much of the memory, then its back to readjusting mysql memory use. |
Well your free to believe what you like. Im glad you dont support any of my servers. :)
|
As a silent observer of this thread, I must say it's some very interesting reading - I'm not placing any 'right' or 'wrong' on anyone, it's just interesting information.
|
Quote:
|
All times are GMT. The time now is 09:48 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|