MyBB Community Forums

Full Version: Very High Memory Usage
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8
(2011-04-09, 10:37 PM)- G33K - Wrote: [ -> ]OP sent me a dump of the sql which I imported in to a default install of MyBB and I've determined the main problem to be the forumpermissions cache array.

Due to the high amount of forums and mods for each forum the permissions for these end up with a huge array. I'm trying it on different cache systems but I'm yet to see a significant improvement.

When I use file cache the forumpermissions.php cache file that is generated is ~15MB, thats a 15MB array and as soon as php loads it the memory usage shoots up, ~100-150MB with file cache, ~90-100MB with db cache.

I'm in the process of trying memcache, eaccelerator and xcache to compare the results.

Any pointers on how else to handle such a huge array or reduce it?

Sry for opening a very old thread, but G33K, how did you find out which array was causing this issue? My website uses around 50 mb, perhaps I can do the same, Or I can send my sql dump too.
Pages: 1 2 3 4 5 6 7 8