> Hi experts, > Do you mind telling me your methods to detect memory leaks in X ? > I wonder why X is eating more and more RAM, every week I need > to restart > X, otherwise, it's taking more than 64Mb. > Regards, > Frederic Heem >
In the past, I've added simple memory checking code to the X server's internal memory management routines. These can be found in os/utils.c. On linux, you can use the backtrace/backtrace_symbols routines to track where allocations occurred. Another alternative is the dmalloc library (www.dmalloc.com). Derek _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
