From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2b96cf32e9159fc5 X-Google-Attributes: gid103376,public X-Google-Thread: 16c5e8,2b96cf32e9159fc5 X-Google-Attributes: gid16c5e8,public X-Google-Thread: f97e2,2b96cf32e9159fc5 X-Google-Attributes: gidf97e2,public From: "Michael E. Wesolowski" Subject: Re: STORAGE Errors Date: 1996/08/24 Message-ID: #1/1 X-Deja-AN: 176188475 references: <321CE2D6.3C8D@genesis.ac3i.dseg.ti.com> content-type: TEXT/PLAIN; charset=US-ASCII organization: Calgary Free-Net mime-version: 1.0 newsgroups: comp.lang.ada,sanet.unix.questions,comp.lang.motif Date: 1996-08-24T00:00:00+00:00 List-Id: On Thu, 22 Aug 1996 ericm@genesis.ac3i.dseg.ti.com wrote: > My problem is that after a while of processing lists and displays I tend > to get storage exceptions that usually freeze the process. I've checked > and all the linked lists are deallocated when they are not being used and > all motif windows are destroyed when they are unmapped. Does anyone have > any information on STORAGE Errors or any suggestions on this particular > problem. If you are getting a storage error, you may have a memory leak. Although your code may be fine, other stuff you link in may not be (it happened to me recently. The project I'm working on links in vendor code which had a memory leak. To confuse the issue further, the problem appeared on only one platform [this particular application ran on three different platforms]). The way we found the source of teh leak was to use the "malloc debug" package provided with the VADS compiler that we are using. It allowed us to profile heap usage and deduce what was happening knowing what we were doing. We were then able to go to the vendor with our conclusions and get a speedy fix. More detail available if you want them. --------------------------------------------------------------------- Michael Wesolowski (mewesolo@freenet.calgary.ab.ca)