Portal Home > Knowledgebase > Articles Database > Fatal error: Allowed memory size
Fatal error: Allowed memory size
Posted by monitor2000com, 06-09-2011, 04:31 AM |
Hello ,
Some CMS sites ( which are using same Own CMS ) confronted with the following error !
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 115625648 bytes) in Unknown on line 0
Note : Some sites are asking for more than 400 MB Memory !!
- these sites were working fine in past 2 years
- this isn`t a good solution to change the memory limitation to 512 MB
- i have transferred one of these sites to another server with the same configurations ,site is working fine after relocation
i wonder ~~ if the problem is from script , how does it work fine on another server with the same settings ? and if it`s our server problem how can i investigate it ? there is more than 200 CMS sites on the server BUT we do have issue only with this CMS ....
Since it`s an own CMS , i have contacted the programmer , he spend 1 day on the site and finally told us that the problem isn`t from CMS ,
Thank u
|
Posted by mrgeekchris, 06-09-2011, 04:47 AM |
This is server related issue in your php.ini file or ram related issue... Are you on shared hosting or Dedicated ?
|
Posted by monitor2000com, 06-09-2011, 05:39 AM |
On dedicated and have more than 3GB free Memory , i checked the php.ini and couldn`t find anything wrong , the memory limitation is 64MB same as another server
|
Posted by cptechie, 06-09-2011, 05:42 AM |
Hello,
You need to increase the value of memory_limit in your php.ini and restart Apache inorder to resolve this issue.
|
Posted by monitor2000com, 06-09-2011, 06:17 AM |
Would you please read my message once again ? incase i have to increse it to 512MB and after that whole server will get problem ,
this cms is working fine on other servers with the same memory limitation ( 64 MB )
|
Posted by drspliff, 06-09-2011, 08:42 AM |
Then get a more capable and experienced developer who can perform memory profiling and correctly identify the out-of-memory conditions and causes, it seems they didn't do the job they were supposed to do.
|
Posted by monitor2000com, 06-10-2011, 02:01 AM |
the point is that the same accounts are working fine on our other servers (all server having same configurations )
|
Posted by linux-techie, 06-10-2011, 10:04 PM |
Check if you have any plugins installed which is causing this issue
|
Posted by monitor2000com, 06-12-2011, 08:10 AM |
no , i have checked this things and couldn`t find anything yet , any suggestion ?
|
Posted by sosys, 06-12-2011, 08:33 AM |
increase the value of memory limit will do.
if still not working, modify .htaccess for that client to use its won php.ini file
|
Posted by m4rc3, 06-13-2011, 02:00 PM |
I smell exploit . . .
|
Add to Favourites Print this Article
Also Read