Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS4
-rwxr-xr-xsvgcard.py1
2 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index e92f9eb..f5a736b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+* Fix for high memory consumption #3106
+ After deleting a pixbuf you have to call the garbage collector
+ manualy to free the memory.(erikos)
+
* Only try to connect to presence service when offline.
Fix for #3099 (erikos)
diff --git a/svgcard.py b/svgcard.py
index a20b0ff..6ba56b4 100755
--- a/svgcard.py
+++ b/svgcard.py
@@ -212,6 +212,7 @@ class SvgCard(gtk.DrawingArea):
self.queue_draw()
while gtk.events_pending():
gtk.main_iteration()
+ gc.collect()
def flop(self):
self.current_pixbuf = self.build_face('back')