Path: utzoo!attcan!uunet!husc6!ukma!tut.cis.ohio-state.edu!osu-cis!att!ihlpf!spock From: spock@ihlpf.ATT.COM (Weiss) Newsgroups: comp.windows.news Subject: Freeing Memory in NeWS Summary: How to Do? Message-ID: <6149@ihlpf.ATT.COM> Date: 15 Sep 88 16:07:15 GMT Reply-To: spock@ihlpf.UUCP (Ed-Weiss) Organization: AT&T Bell Laboratories - Naperville, Illinois Lines: 22 I've run out of memory in NeWS a couple of times when I've been playing with lots of canvases with lots of subcanvases. Each canvas also has a process looking for events. I'm wondering how to make sure that these canvases are garbage collected. A possible list of things to do to insure that canvases are garbage collected: 1.) Remove all references to the canvas in my dictionaries 2.) Unmap the canvas 3.) Destroy all processes awaiting events for the canvas Is this necessary and sufficient? Can I just unmap a parent canvas and forget about the children? Do I need to turn off retained? I am running 3.4 and 4.0 with NeWS 1.1. -- Ed Weiss "I thought it was generally accepted, sir, that att!ihlpf!spock vulcans are an advanced and most honorable race." "They are, they are. And damn annoying at times."