Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!thyme!kaleb From: kaleb@thyme.jpl.nasa.gov (Kaleb Keithley ) Newsgroups: comp.windows.x Subject: Re: Memory Deallocation of XtDestroyWidget? Message-ID: <1990Dec14.010635.2991@thyme.jpl.nasa.gov> Date: 14 Dec 90 01:06:35 GMT References: <1990Dec13.122714.7669@swift.cs.tcd.ie> Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 21 In article <1990Dec13.122714.7669@swift.cs.tcd.ie> gteo@swift.cs.tcd.ie writes: >Hello, > I am looking into the memory usage by the Motif and Xt. What I did >was to load in some 100 push button widgets at run-time (invoked using Callback) >from a UID file, then destory these widgets on another press of a button. >However,the SZ and RSS have increased rather than decreased. Candidate for the FAQ? What version of X? Patched to what level? What version of Motif? What OS? X11R3 and Motif 1.0 both have serious memory leak problems. X11R4 and Motif 1.1 have cured most of them, but there are still some remaining. Have you patched up to fix-18 on X11R4; serious leaks abound in XtDestroyWidget if you have not. Finally, under any version of UNIX, you will *never* (never say never) see a process size get smaller. That's just the way malloc is implemented. -- Kaleb Keithley Jet Propulsion Labs kaleb@thyme.jpl.nasa.gov Offensive quote coming soon to a .signature file near you.