MyBB Community Forums

Full Version: strange issue Allowed memory size of 134217728 bytes exhausted
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi all,
i am working on my local pc and i have imported data from an other db into my mybb db.

after doing this i am not able to run site. even when i go to admin panel, and try to rebuild and count for forums i see this error.

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 261900 bytes) in C:\wamp\www\mybb\admin\inc\functions.php on line 217


can any one help how to fix it?
Ask your hosting provider to increase the max allowed memory size (in php.ini)
Or try reducing the numbers in the rebuild...for example, if you have 200, try 100 or 50
(2012-03-07, 04:01 PM)t_virus Wrote: [ -> ]Ask your hosting provider

(2012-03-07, 03:28 PM)baig Wrote: [ -> ]i am working on my local pc

He's on localhost Wink

But, yes, change the value in php.ini to allow more memory.

i have changed memory_limit = 1024M but still not working, is there any other setting in php.ini
and if i set it to unlimited / infinity like -1 or 2048M, what i see is :

Fatal error: Out of memory (allocated 1961361408) (tried to allocate 261900 bytes) in C:\wamp\www\mybb\admin\inc\functions.php on line 217
Line 217 is
$navigation = make_parent_list($forum['pid'], $navsep).$navigation;

Very strange that should cause this, hm....
it is fixed, when i restarted pc, it disapeared. strange.
(2012-03-08, 12:12 AM)Paul H. Wrote: [ -> ]He's on localhost Wink

LOL...funny how i didn't notice that. silly me :')

but yeah, restarting wamp would've been easier...
did you restart your services after changing the php.ini?