Mermory usage

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Dam

Mermory usage

Post by Dam »

Hello,

In a page using Calendar module, the server is returning this error : "Fatal error: Allowed memory size of 6291456 bytes exhausted (tried to allocate 184320 bytes) in fr_FR.php on line 110"

My question is : is this memory usage normal or is there a bug anywhere ?
Since the website is installed on an external provider, I have no way to know if this is due to a bug or if it is due to a great need of memory for cmsmadesimple.

Dam

P.S. : thanks for the developpers of cmsmadesimple, the best CMS I've ever seen !
User avatar
dam
Forum Members
Forum Members
Posts: 136
Joined: Sat Jan 14, 2006 6:07 pm

Re: Mermory usage

Post by dam »

Well,

I searched a little more to solve this matter. Actually, my web host is fixing a memory limit of 6M for php  :'( :'(

The matter is I can't see page listing anymore : it seems that I have created to much pages and it takes now more than 6M to list them ! !
Does anyone have any "tips and trick" to overcome this problem ? (No "change your web hosting" please).

Thank you,
dam
noddoye

Re: Mermory usage

Post by noddoye »

Has anyone replied to your post with an answer. I'm experiencing the same problem.
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Mermory usage

Post by Ted »

You can try putting ini_set("memory_limit", "16M"); near the top of include.php, but it's not guaranteed to work.  It totally depends on the server configuration.
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Mermory usage

Post by tsw »

which version are you using?

There have been some memory usage tweaking for 0.13 which is in beta atm. Also uninstalling all unnecessary modules could help.
Locked

Return to “CMSMS Core”