Fixed a memory leak when generating idea space previews as PDF.
I then left them running for six hours, thinking perhaps a memory leak problem was to blame.