[gs-bugs] [Bug 689536] Memory leak reading PostScript file (PMR 53877).

bugs.ghostscript.com-bugzilla-daemon at ghostscript.com bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Thu Dec 27 17:29:35 PST 2007


http://bugs.ghostscript.com/show_bug.cgi?id=689536





------- Additional Comments From ray.johnston at artifex.com  2007-12-27 17:29 -------
I did determine that running with ^D between the "jobs" running under
-dJOBSERVER _does_ prevent the memory usage growth, however, the recent analysis
does not explain why -dNOOUTERSAVE on the origina file without ^D job separation
does _NOT_ exhibit the memory growth. As Alex points out in comment #2.

The outer level save (or lack thereof) clearly change the garbage collection
and/or save/restore logic enough to allow the unmodified file to run.

The "only" difference that is documented is that a 'restore' at the outermost
save level is supposed to restore global VM, whereas at any deeper save level,
global VM is not affected by restore. This seems to imply that the growth is
happening in global VM, and from later analysis, may be tied in with the
"invisible" save levels. Possibly invisible save levels and global VM can be
handled differently to avoid this problem.



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the gs-bugs mailing list