Out of memory causes blank screen/page
Posted: 15 July 2008 11:05 PM   [ Ignore ]
Jr. Member
RankRank
Total Posts:  37
Joined  2007-04-26

I have 1650 entries in one of my freeform tables. Today when I tried to manage those entries the server ran out of memory and I got a bank page. Same thing when I tried to delete an entry.

I solved this by putting the following code in mcp.freeform.php and mod.freeform.php

<?php

ini_set
('memory_limit','45M');

?>

The exact error was: PHP Fatal error:  Allowed memory size of 35651584 bytes exhausted (tried to allocate 44 bytes)

I’m just wondering if freeform is a memory hog? I have no idea how much memory should commonly be used by fetching 1650 entries, but maybe 34 meg is enough? If freeform exceeds 34meg is there something wrong? Or is this to be expected with this many entries?

Thanks.

Profile
 
 
Posted: 16 July 2008 01:39 PM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3373
Joined  2006-10-18

Adman,

Have a look here:
http://www.solspace.com/forums/viewthread/484/#3972

It’s a known issue and will be implemented in a future release smile

 Signature 
Profile