← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 906874] [NEW] duplicate memory sections of icon-theme.cache

 

Public bug reported:

I like linuxDC++ very much. But it always suffered from memory leak problems
That's why I had to move from 1.0.3 to another DC client. After several days it leaked to 2 gb and more.
Now I'm on linuxdc++ version 1.1.0
Some memory leaks were fixed indeed, but not all of them
When program run for a considerable amount of time it's memory usage increases.
After one day of run I looked at the process memory map and saw 4 sections of loaded
/usr/share/icons/gnome/icon-theme.cache
All of the had the same size - about 60 mb (exactly as big as original file is)
except one
last one were ~14 mb in size
After restarting the program I have
 one 60 mb section named 'icon-theme.cache'  and one 14 mb section of the same name
I'm not linux programmer, but can imagine why this happens
Probably icon-cache is loaded not by linuxdcpp itself but framework it invokes
May be multiple reinitializations are present in the code without freeing previously allocated resources ?

** Affects: linuxdcpp
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of LinuxDC++
Team, which is subscribed to LinuxDC++.
https://bugs.launchpad.net/bugs/906874

Title:
  duplicate memory sections of icon-theme.cache

Status in Linux DC++:
  New

Bug description:
  I like linuxDC++ very much. But it always suffered from memory leak problems
  That's why I had to move from 1.0.3 to another DC client. After several days it leaked to 2 gb and more.
  Now I'm on linuxdc++ version 1.1.0
  Some memory leaks were fixed indeed, but not all of them
  When program run for a considerable amount of time it's memory usage increases.
  After one day of run I looked at the process memory map and saw 4 sections of loaded
  /usr/share/icons/gnome/icon-theme.cache
  All of the had the same size - about 60 mb (exactly as big as original file is)
  except one
  last one were ~14 mb in size
  After restarting the program I have
   one 60 mb section named 'icon-theme.cache'  and one 14 mb section of the same name
  I'm not linux programmer, but can imagine why this happens
  Probably icon-cache is loaded not by linuxdcpp itself but framework it invokes
  May be multiple reinitializations are present in the code without freeing previously allocated resources ?

To manage notifications about this bug go to:
https://bugs.launchpad.net/linuxdcpp/+bug/906874/+subscriptions


Follow ups

References