diff --git a/ChangeLog b/ChangeLog index 779c53ba7..cea04369e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-04-08 Brian Matherly + * src/plugins/NarrativeWeb.py: 0000896: Crash running Narrative Web report - + system memory exhausted. + 2007-04-06 Don Allingham * src/GrampsDb/_GrampsDbBase.py (GrampsDbBase.close_undodb): don't complain if the undo file isn't here. diff --git a/src/plugins/NarrativeWeb.py b/src/plugins/NarrativeWeb.py index 47b0d174e..84306d7d0 100644 --- a/src/plugins/NarrativeWeb.py +++ b/src/plugins/NarrativeWeb.py @@ -2347,7 +2347,7 @@ class WebReport(Report): self.progress.step() def gallery_pages(self, photo_list, source_list, archive): - + import gc self.progress.set_pass(_("Creating media pages"),len(photo_list)) GalleryPage(self.database, self.title, source_list, @@ -2360,6 +2360,7 @@ class WebReport(Report): photo_keys.sort(self.by_media_title) for photo_handle in photo_keys: + gc.collect() # Reduce memory usage when there are many images. if index == total: next = None else: