Top Document: Motif FAQ (Part 6 of 9) Previous Document: 205) What memory leaks are known? Why does my application grow in Next Document: 207) Why does my application take a long time to start up? See reader questions & answers on this topic! - Help others by sharing your knowledge I run Purify[tm] on my Motif programs? [Last modified: July 96] Answer: Purify's reports are suggestions and do not always indicate real bugs. The X libraries frequently allocate dynamic memory, e.g., for attribute or event structures, but don't explicitly initialize all of the memory. X keeps track of which structure fields are valid via a union type or a mask. When X tries to copy or write the memory (part of which is uninitialized) as one block, Purify reports a UMR. This is not a bug and you can safely supress or ignore the report. Yes, X could initialize the unused field, but since this happens alot, the needless operation could negatively affect your performance. Ken Lee User Contributions:Top Document: Motif FAQ (Part 6 of 9) Previous Document: 205) What memory leaks are known? Why does my application grow in Next Document: 207) Why does my application take a long time to start up? Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page [ Usenet FAQs | Web FAQs | Documents | RFC Index ] Send corrections/additions to the FAQ Maintainer: kenton@rahul.net (Ken Lee)
Last Update March 27 2014 @ 02:11 PM
|
Comment about this article, ask questions, or add new information about this topic: