Skin causing huge memory leak!

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Aenima99x Offline
Member+
Posts: 1,030
Joined: Aug 2007
Reputation: 7
Location: California
Post: #1
Hey guys just noticed something kinda odd - when XBMC is minimized there is a huge memory leak. It goes from about 75 MB to several GB in less than 30 seconds. If XBMC is returned to focus, the memory consumption stops immediately. It doesn't matter if it's windowed or fullscreen. I've verified this does not happen when the skin is set to Confluence - only Metropolis. Any ideas?

EDIT - I found this thread that may be related.
http://forum.xbmc.org/showthread.php?tid...emory+leak
(This post was last modified: 2012-04-25 20:01 by Aenima99x.)
find quote
jingai Offline
Skilled Skinner
Posts: 873
Joined: Mar 2010
Reputation: 6
Post: #2
(2012-04-25 20:00)Aenima99x Wrote:  Hey guys just noticed something kinda odd - when XBMC is minimized there is a huge memory leak. It goes from about 75 MB to several GB in less than 30 seconds. If XBMC is returned to focus, the memory consumption stops immediately. It doesn't matter if it's windowed or fullscreen. I've verified this does not happen when the skin is set to Confluence - only Metropolis. Any ideas?

EDIT - I found this thread that may be related.
http://forum.xbmc.org/showthread.php?tid...emory+leak

Are you using the Home2 (the "icon") style? And if so, are you hiding any of the home items?

There is a bug in the wraplist container that causes stuttering/slowdowns when items in the list are hidden. It may be related.

-j
Huh. Setting preloaditems to 0 fixed the flickering issue in the wraplist.

Aenima99x, assuming you're using the Home2 style, can you set it to 0 on yours (in Includes_Home2.xml) and see if it resolves the memory leak?

-j
(This post was last modified: 2012-04-25 20:13 by jingai.)
find quote
Aenima99x Offline
Member+
Posts: 1,030
Joined: Aug 2007
Reputation: 7
Location: California
Post: #3
(2012-04-25 20:08)jingai Wrote:  
(2012-04-25 20:00)Aenima99x Wrote:  Hey guys just noticed something kinda odd - when XBMC is minimized there is a huge memory leak. It goes from about 75 MB to several GB in less than 30 seconds. If XBMC is returned to focus, the memory consumption stops immediately. It doesn't matter if it's windowed or fullscreen. I've verified this does not happen when the skin is set to Confluence - only Metropolis. Any ideas?

EDIT - I found this thread that may be related.
http://forum.xbmc.org/showthread.php?tid...emory+leak

Are you using the Home2 (the "icon") style? And if so, are you hiding any of the home items?

There is a bug in the wraplist container that causes stuttering/slowdowns when items in the list are hidden. It may be related.

-j
Huh. Setting preloaditems to 0 fixed the flickering issue in the wraplist.

Aenima99x, assuming you're using the Home2 style, can you set it to 0 on yours (in Includes_Home2.xml) and see if it resolves the memory leak?

-j

Nope, I'm using the default Home menu. No preloaditems in the Includes_Home1.xml. I do have Videos hidden from the menu, let me see if not hiding it has any effect.
Nope, having all menu items visible made no difference.
(This post was last modified: 2012-04-25 20:31 by Aenima99x.)
find quote
stoli Offline
Skilled Skinner
Posts: 2,405
Joined: Nov 2008
Reputation: 30
Location: Florida
Post: #4
(2012-04-25 20:00)Aenima99x Wrote:  Hey guys just noticed something kinda odd - when XBMC is minimized there is a huge memory leak. It goes from about 75 MB to several GB in less than 30 seconds. If XBMC is returned to focus, the memory consumption stops immediately. It doesn't matter if it's windowed or fullscreen. I've verified this does not happen when the skin is set to Confluence - only Metropolis. Any ideas?

EDIT - I found this thread that may be related.
http://forum.xbmc.org/showthread.php?tid...emory+leak

I can't reproduce it here...
find quote
jingai Offline
Skilled Skinner
Posts: 873
Joined: Mar 2010
Reputation: 6
Post: #5
Well, FWIW, you did help me find the flickering issue with Home2. I struggled with that one for hours before giving up Tongue

But as for your issue, I'm not able to reproduce it here. I've had XBMC minimized now for about 20 minutes and it's sat right around 100MB the entire time.

I'm using the official build of 11.0 on a MacPro running MacOSX 10.7 and the latest Metropolis from git.

Is there anything special about your setup you think might be pertinent so I can try to reproduce it?

-j
find quote
Aenima99x Offline
Member+
Posts: 1,030
Joined: Aug 2007
Reputation: 7
Location: California
Post: #6
I'm wondering if it's something related to the OS....I've got XBMC installed on Ubuntu 12.04. Stoli what are you running?

Jingai - I'm running Metropolis git from the passion repo.
(This post was last modified: 2012-04-25 20:40 by Aenima99x.)
find quote
jingai Offline
Skilled Skinner
Posts: 873
Joined: Mar 2010
Reputation: 6
Post: #7
I've got an Ubuntu 11.10 system sitting right here. Lemme see if I can reproduce it. If not, I'll update to 12.04 and try again.

Are you using Unity or Metacity? With or without compiz?
(This post was last modified: 2012-04-25 20:47 by jingai.)
find quote
Aenima99x Offline
Member+
Posts: 1,030
Joined: Aug 2007
Reputation: 7
Location: California
Post: #8
It's running Unity with compiz.
find quote
jingai Offline
Skilled Skinner
Posts: 873
Joined: Mar 2010
Reputation: 6
Post: #9
Meh there's a bunch of unmet dependencies so instead of fetching them all by hand.. I'm just going to upgrade to 12.04. Which means I won't be able to check it out until tomorrow likely.

I do have a Debian unstable box at home though, so I can try it there too.
find quote
Aenima99x Offline
Member+
Posts: 1,030
Joined: Aug 2007
Reputation: 7
Location: California
Post: #10
Thanks jingai, but please don't spend too much time on this. I'm really starting to wonder if it's a one-off issue on my box.
find quote
Post Reply