From ba4b3eaef6fbb311e47cb1a87b73c09a18ea8707 Mon Sep 17 00:00:00 2001 From: prculley Date: Thu, 18 Jan 2018 08:59:22 -0600 Subject: [PATCH] Add Garbage collection after tools/reports Fixes #10287 --- gramps/gui/viewmanager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gramps/gui/viewmanager.py b/gramps/gui/viewmanager.py index 364093a89..2c1f3f5f2 100644 --- a/gramps/gui/viewmanager.py +++ b/gramps/gui/viewmanager.py @@ -39,6 +39,7 @@ import time import datetime from io import StringIO import posixpath +import gc #------------------------------------------------------------------------- # @@ -1766,6 +1767,7 @@ def run_plugin(pdata, dbstate, uistate): name=pdata.id, category=pdata.category, callback=dbstate.db.request_rebuild) + gc.collect(2) def make_plugin_callback(pdata, dbstate, uistate): """