[split] Excessive Memory Usage
masterj Offline
Junior Member
**
Posts: 15
Joined: Mar 2011
Post: #1
[split] Excessive Memory Usage
Hi again,

Just wana ask if the addional xthreads templates is the reason that my mem usage is high ?

Generated in 0.0935700 seconds (92.61% PHP / 7.39% MySQL)
SQL Queries: 9 / Global Parsing Time: 0.0372572 / Memory Usage: 8.75 MB
PHP version: 5.2.16 / Server Load: 0.89 / GZip Compression: Enabled


I tried disabling all 7 plugins i had and mem usage just went down upto 7 something..


also does mem usage affects the performance of my site ?

and in shared hosting what's the mem usage limitation ?

I checked my debug info and i saw this , is this my mem liimit ? or its for the overall shared hosting ..


Memory Usage: 9 MB (9437184 bytes) Memory Limit: 128M


here's my cpanel
CPU Usage 16 / 100 %
Concurrent Connections 3 / 20




is my forum in a good health ? i only have 100 members and around 10members online at the same time .
03-29-2011 01:22 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: YouTube Video Gallery
(03-29-2011 01:22 PM)masterj Wrote:  Hi again,

Just wana ask if the addional xthreads templates is the reason that my mem usage is high ?

Generated in 0.0935700 seconds (92.61% PHP / 7.39% MySQL)
SQL Queries: 9 / Global Parsing Time: 0.0372572 / Memory Usage: 8.75 MB
PHP version: 5.2.16 / Server Load: 0.89 / GZip Compression: Enabled
I get nowhere near that much, and I'm using 64-bit PHP...
Quote:Generated in 0.0918791 seconds (77.82% PHP / 22.18% MySQL)
SQL Queries: 16 / Global Parsing Time: 0.0332520 / Memory Usage: 2.5 MB

Try deactivating XThreads and see what you get, unless...
(03-29-2011 01:22 PM)masterj Wrote:  I tried disabling all 7 plugins i had and mem usage just went down upto 7 something..
...that includes XThreads.  If that's the case, then I suggest testing a clean install and start from there.

(03-29-2011 01:22 PM)masterj Wrote:  also does mem usage affects the performance of my site ?
This is somewhat difficult to tell.  I'd consider execution time more important than memory usage personally, unless it's way too high.

(03-29-2011 01:22 PM)masterj Wrote:  and in shared hosting what's the mem usage limitation ?
Ask host, though they probably don't have a strict limitation.

(03-29-2011 01:22 PM)masterj Wrote:  I checked my debug info and i saw this , is this my mem liimit ? or its for the overall shared hosting ..

Memory Usage: 9 MB (9437184 bytes) Memory Limit: 128M
That's the PHP script limit.

My Blog
03-29-2011 04:15 PM
Find all posts by this user Quote this message in a reply
masterj Offline
Junior Member
**
Posts: 15
Joined: Mar 2011
Post: #3
RE: YouTube Video Gallery
cry = (

i don't wanna do a fresh intall , i already have members on my board..

and how do you import database ? simply use the same database ?


in my database i have wordpress and copermine gallery bridge to mybb.

could you give me a step by step guide on how to do a fresh intall just in case and how to put my threads/members back on it ?
03-29-2011 07:14 PM
Find all posts by this user Quote this message in a reply
masterj Offline
Junior Member
**
Posts: 15
Joined: Mar 2011
Post: #4
RE: YouTube Video Gallery
Hi again i tried a fresh install , no mods or theme installed .. just the default BB

Generated in 0.0216899 seconds (91.31% PHP / 8.69% MySQL)
SQL Queries: 10 / Global Parsing Time: 0.0158298 / Memory Usage: 4 MB
PHP version: 5.2.16 / Server Load: 0.91 / GZip Compression: Disabled


and this is my original board

Generated in 0.0935700 seconds (92.61% PHP / 7.39% MySQL)
SQL Queries: 9 / Global Parsing Time: 0.0372572 / Memory Usage: 8.75 MB
PHP version: 5.2.16 / Server Load: 0.89 / GZip Compression: Enabled


Ok now i've imported a backup database

look:

Generated in 0.0462229 seconds (86.10% PHP / 13.90% MySQL)
SQL Queries: 9 / Global Parsing Time: 0.0225270 / Memory Usage: 5.75 MB
PHP version: 5.2.16 / Server Load: 3.66 / GZip Compression: Disabled


note there are no plugins activated yet , im sure if i'll use the same plugin i'll get 8.75 too


so what's your critique ? Is it a server issue ?
(This post was last modified: 03-29-2011 08:27 PM by masterj.)
03-29-2011 07:45 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #5
RE: YouTube Video Gallery
(03-29-2011 07:14 PM)masterj Wrote:  cry = (

i don't wanna do a fresh intall , i already have members on my board..
Install it separately lol.  I never said to remove/replace your current install.

(03-29-2011 07:45 PM)masterj Wrote:  Ok now i've imported a backup database
Not a very good idea, depending on what you've done.  Your DB may be out of synch with your filesystem (lost attachments, possibly some "cache" losses etc).
Playing around with a live forum isn't the smartest thing to do.

(03-29-2011 07:45 PM)masterj Wrote:  so what's your critique ? Is it a server issue ?
I don't know - but as you've gone this far, just activate plugins one by one to see what happens.

My Blog
03-29-2011 09:29 PM
Find all posts by this user Quote this message in a reply
masterj Offline
Junior Member
**
Posts: 15
Joined: Mar 2011
Post: #6
RE: YouTube Video Gallery
Is this a normal install ? I mean the mem usage is already 4mb without any plugins or tempaltes.   Then if i use the same plugins it will just go upto 8.75mb

This is a seperate database and fresh install also all default settings.

Generated in 0.0216899 seconds (91.31% PHP / 8.69% MySQL)
SQL Queries: 10 / Global Parsing Time: 0.0158298 / Memory Usage: 4 MB
PHP version: 5.2.16 / Server Load: 0.91 / GZip Compression: Disabled

I have 30 + Forums
(This post was last modified: 03-30-2011 12:53 AM by masterj.)
03-30-2011 12:43 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #7
RE: YouTube Video Gallery
(03-30-2011 12:43 AM)masterj Wrote:  Is this a normal install ? I mean the mem usage is already 4mb without any plugins or tempaltes.   Then if i use the same plugins it will just go upto 8.75mb
It's perhaps higher than usual, but there may be various factors contributing to that, for example, the PHP extensions your host has enabled and installed, and perhaps buffers used (eg opcode caches) and in fact might not reflect your usage.
Adding +4MB just from plugins sounds somewhat unusual though, which is why I suggested enabling them one by one to see what you get.

Anyway, this is beyond the scope of XThreads alone, so I'm splitting this thread.

My Blog
03-30-2011 09:36 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: