Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!ucbvax!OAHU.SEDD.TRW.COM!fong From: fong@OAHU.SEDD.TRW.COM (Jorge Fong) Newsgroups: comp.windows.x.motif Subject: Memory Management Message-ID: <9010121432.AA10860@BU.EDU> Date: 12 Oct 90 14:31:52 GMT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 25 I have an application that needs to run 24 hours a day non-stop !!! Every so often this application brings up a selection dialog box. How do I destroy the widgets I have created in order to keep the process size from growing monotonically forever. Running Motif under HP-UX 7.0 on a HP 9000/370. The code looks like: XtSetArg(arglist[al], XmNmustMatch, must_match); al++; dialog_box = XmCreateSelectionDialog (toplevel,"Selection_Box",arglist,al); XtDestroyWidget(dialog_box); If I run those 3 lines in an infinite loop, memory continues to be allocated indefinetely. Is it a Motif bug? Is it an HP-UX bug ? Thank You, Jorge Fong