Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!swrinde!emory!stiatl!meo From: meo@stiatl.UUCP (Miles O'Neal) Newsgroups: comp.windows.x Subject: Re: Athena Widget and XtDestroyWidget. Message-ID: <9663@stiatl.UUCP> Date: 10 Apr 90 15:27:49 GMT Organization: Sales Technologies Inc. Atlanta, Ga. Lines: 26 otskov@iesd.auc.dk (Thim Otskov) writes: |When creating (XtCreateManagedWidget) and destroying (XtDestroyWidget) |the same widget more than once, the application program starts |growing in size. This phenomenon only applies to composite widgets, |simple widgets are allocated and deallocated properly. | |The application is running under both X11R3 and X11R4. | |Has anybody seen this before? And are there a patch fixing this little |`growth` problem? We had similar problems. They were much more exaggerated under the BETA and FCS version of SunOS 4.0.0 for the 386i; things got much better with 4.0.2. Also, however, we made sure every widget cleaned up after itself with a Destroy method. While there can still be problems even with this, we have found it to help a lot. I don't remember the details, but we even twiddled the Athena widgets themselves, in addition to our own Athena-based widgets. (The latter was under R2 and maybe R3 - we are not at R4 yet.) -Miles O'Neal meo@SalesTech.com emory!stiatl!meo This posting involves no company proprietary information. My employer & I speak for ourselves, not each other. Trust me.