Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!ucbvax!ALEX.CSS.GOV!lynnes From: lynnes@ALEX.CSS.GOV (Christopher Lynnes) Newsgroups: comp.windows.x.motif Subject: Re: Memory Leaks Message-ID: <9104241330.AA05306@alex.CSS.GOV> Date: 24 Apr 91 13:30:39 GMT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 18 >We have a large application program running X and Motif that >appears to have consistent 'memory leaks' under certain conditions. >An example of a condition is the building of a popup-shell and >several associated child widgets, and immediately popping it >down with a 'done' button which invokes XtDestroyWidget() on the >popup. People have reported memory leak problems with shell creation/destruction, though most of these complaints seemed to be for the X11/R3-Motif 1.0 combination. One way to remedy that is to create a single popup, and manage and unmanage it (changing its resources/children appropriately), which also saves time. Chris Lynnes ===== : = ::::: Teledyne Geotech ===== :: == ::::: Alexandria, Virginia ::: === (703) 739-7316 :: == lynnes@seismo.CSS.GOV : =