MyBB Community Forums

Full Version: High memory Usage
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a very small board (800 members, 3000 or so threads, 38 separate forums (including sub-forums) and my memory usage seems very high.

These are my debug stats:

Index
Generated in 0.2182169 seconds (95.19% PHP / 4.81% MySQL)
SQL Queries: 14 / Global Parsing Time: 0.0978351 / Memory Usage: 21.25 MB
PHP version: 5.3.6 / Server Load: 0.08 / GZip Compression: Enabled

Portal:
Generated in 0.1674540 seconds (63.15% PHP / 36.85% MySQL)
SQL Queries: 25 / Global Parsing Time: 0.0823951 / Memory Usage: 17.25 MB
PHP version: 5.3.6 / Server Load: 0.03 / GZip Compression: Enabled

Showthread:
Generated in 0.1436260 seconds (84.71% PHP / 15.29% MySQL)
SQL Queries: 31 / Global Parsing Time: 0.0921941 / Memory Usage: 18 MB
PHP version: 5.3.6 / Server Load: 0.12 / GZip Compression: Enabled

Forumdisplay
Generated in 0.2044809 seconds (79.82% PHP / 20.18% MySQL)
SQL Queries: 24 / Global Parsing Time: 0.1377580 / Memory Usage: 19.5 MB
PHP version: 5.3.6 / Server Load: 0.04 / GZip Compression: Enabled

It seems very high given the board is so small, I had a look in my cache page and these two numbers jumped out as pretty high:

forums =133.8 KB
forumpermissions = 235.25 KB

Especially when the entire XThreads plugin is only clocking in at 49.47KB

Is there any action I can take to get my memory usage down? I do have a fair few plugins, but I thought nothing really bad - I have XThreads, MyNetwork core and two features, my publisher and customstatus and some small hookins for XThreads.

I am pretty sure it is not my plugins because I tested this on my localhost with all the plugins I have on the board active and the memory usage was about 8kb. I realise that is an empty board, but it still seems a lot of extra memory being used.

Is there anything I can do to "fix" this or is this a realistic value for my memory usage?
Try disabling your plugins one by one and check which one causes the high memory usage.

On another note: You should only use approved plugins from mybb.com
(2012-04-14, 01:10 PM)king_og Wrote: [ -> ]Try disabling your plugins one by one and check which one causes the high memory usage.

On another note: You should only use approved plugins from mybb.com


King_og: Thanks for the reply, but I already stated in my post that I had tested on another board with all plugins running and the memory usage was much lower.

Re the plugins - you are right when you say to only use plugins from a reputable source - there are NO plugins by ZingaBurga on the mods site but I have complete confidence in his coding ability re plugins.

Not solved.