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: Server Does Not Free Widget Resources Keywords: widget resources, memory leak Message-ID: <1990Dec7.214120.13636@thyme.jpl.nasa.gov> Date: 7 Dec 90 21:41:20 GMT References: <593@censun1.UUCP> <1990Dec7.175818.12931@thyme.jpl.nasa.gov> <1990Dec7.212838.28921@news.arc.nasa.gov> Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 19 In article <1990Dec7.212838.28921@news.arc.nasa.gov> schoch@trident.arc.nasa.gov (Steve Schoch) writes: >In article <1990Dec7.175818.12931@thyme.jpl.nasa.gov>, kaleb@thyme.jpl.nasa.gov (Kaleb Keithley ) writes: >|> You will never see the server process size shrink or reduce. That's >|> just how malloc/free work. > >That's what I would have said too, except that he said the problem happened >on NCD X Terminal servers also. NCD terminals don't run Unix, or a multi- >user OS in general so I would think they would use a different implementation >of malloc/free (The UNIX version of free makes the memory available to >future calls to malloc() but does not give the memory back to the kernel.) I don't know about NCD, but I was told that the Tek X Terminals use XINU, which I presume uses a similar memory allocation scheme. -- Kaleb Keithley Jet Propulsion Labs kaleb@thyme.jpl.nasa.gov You can please all of the people some of the time,