kevincro Posted May 17, 2008 Share Posted May 17, 2008 Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 4864 bytes) in public_html/maincore.php on line 314 I'm not sure what this error message means. Please help. Thank you Kevin Quote Link to comment Share on other sites More sharing options...
mlin Posted May 17, 2008 Share Posted May 17, 2008 It means that your using too much memory. Personally I've never run into this issue, but there are ini variables you can use to allocate more memory to php. in your php.ini file, look for memory_limit and up it's value to something that will work for your app is one way you could get around it, but should be last resort. I really think your app could be optimized one way or another to avoid this error. If you can, post the code so we can have a look. Quote Link to comment Share on other sites More sharing options...
kevincro Posted May 17, 2008 Author Share Posted May 17, 2008 The odd thing about this error is it happens randomly. No one application on my website consistently gives this error. I'll go through and optimize my site as best I can. Hopefully that will take care of this. Thanks so much. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.