Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!bionet!agate!usenet.ins.cwru.edu!ukma!seismo!esosun!tyr.css.gov From: cynde@tyr.css.gov (Cynde Smith) Newsgroups: comp.windows.x.motif Subject: Memory Leaks Message-ID: <692@esosun.UUCP> Date: 23 Apr 91 17:18:13 GMT Sender: news@esosun.UUCP Reply-To: cynde@tyr.css.gov (Cynde Smith) Organization: Science Aplications Int'l Corp. Lines: 11 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. After cleaning up some of the leaks by explicitly freeing all resources created with XmStringCreate() we're still losing ~6K on each popup/popdown. It's never exactly the same amount. Has anyone experienced something similar before ? Our guess is we may be overlooking a resource or environment setting.