From f57c7d5f9f6185c21f5208b3630948f84b455a21 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Sun, 27 Jul 2003 18:36:37 +0000 Subject: [PATCH] * src/GrampsParser.py: directly delete several maps to free memory svn: r1933 --- src/GrampsParser.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/GrampsParser.py b/src/GrampsParser.py index db180b462..8dc55231c 100644 --- a/src/GrampsParser.py +++ b/src/GrampsParser.py @@ -195,8 +195,12 @@ class GrampsParser: if self.db.personMap.has_key(id) and self.db.getDefaultPerson() == None: person = self.db.personMap[id] self.db.setDefaultPerson(person) + for key in self.func_map.keys(): del self.func_map[key] + del self.func_map + del self.func_list + del p def start_lds_ord(self,attrs): type = attrs['type']