| To: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
|---|---|
| Subject: | Re: Tracking down memory leaks |
| From: | RPEHLM <robin@lauryssen-mitchell.com> |
| Date: | Tue, 31 Mar 2009 10:43:43 +0200 |
| Authentication-results: | mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com |
| Delivered-to: | listarchive@realsoftware.com |
| In-reply-to: | <e3e2c9250903310100p5fc5790dr6e5984ed28d4c9d@mail.gmail.com> |
| References: | <11863016-FDF1-4EC9-9078-A39C6F51ADBE@logicaldevelopments.com.au> <e3e2c9250903310100p5fc5790dr6e5984ed28d4c9d@mail.gmail.com> |
| Reply-to: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
| Sender: | realbasic-nug-bounces@lists.realsoftware.com |
| User-agent: | Thunderbird 2.0.0.21 (Windows/20090302) |
Valgrind looks to be a Linux only debugger and profiler. Paul is
writting his stuff for Windows. Wonder if there is a similar thingy for
Windows? I'll see what I can find.
Robin Bastian Bense wrote: Hi, in REALbasic this can have two causes: The first one is circular references - that is two objects that somehow hold references to each other, so that the garbage collector can not delete those objects from memory. For this you can use the Runtime object and get yourself a list of allocated objects in the current runtime. The second cause can be a "real" memory leak, either caused by a Plugin or by REALbasic itself. For this you might have some luck with Valgrind, which is a memory leak checker. You could also try commenting out code that you added/modified recently and see if the leak disappears. Anyway - good luck with hunting it down - I know how much pain it can be. 2009/3/31 Paul Mulroney <pmulroney@logicaldevelopments.com.au>:Hi Everyone, I've written a graphing program that records information from an ethernet based temperature probe, and graphs it in a window. I wrote the graphing routine from scratch, and it's basically a NewPicture(), with a bunch of lines, dots and text added. I've noticed in the latest version that there's a memory leak - the application progressively uses up more and more memory over time. This is in Windows XP. It only happens when the graph window (where I create the picture) is open, and not at any other time. Can anyone offer some suggestions about how I might be able to track down this memory leak? _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Tracking down memory leaks, Bastian Bense |
|---|---|
| Next by Date: | Unused method / event parameters?, emile.a.schwarz |
| Previous by Thread: | Re: Tracking down memory leaks, Bastian Bense |
| Next by Thread: | Re: Tracking down memory leaks, Paul Mulroney |
| Indexes: | [Date] [Thread] [Top] [All Lists] |