Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2007-08-31 12:10:53 (GMT)
committer Simon Schampijer <simon@schampijer.de>2007-08-31 12:10:53 (GMT)
commitcdd75c7020bbd5d664a258a78a4255b539c4c661 (patch)
treec070fca8f62726be8cbe9e7372866129418e2989
parent3749fd7c276a9c0ce85bfa038fe4fd280c0ee6b9 (diff)
Fix for high memory consumption #3106
After deleting a pixbuf you have to call the garbage collector manualy to free the memory.
-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')