January 08, 2003

Memory Profiler as an example application for nyx

As an example for nyx I am writing a memory profiler based on hprof (just parses the ascii output, the binaries seem to change to much). As said, it's just an example, but it's hard not to take a step further. Say I just want to now why the hell my custom EditorKit is leaking (it loves to leak), I just want to know what is leaking and don't want to be bothered withl all other allocations that are done in the application. I think to get this done "easily", it would be cool to have a debugger integrated with a profiler, this way you can during debugging ask which objects are still allocated that are related to your breakpoint... Maybe something for the eclipse team to consider ? I am trying to get this working in the example, since I need that pretty badly.. The nice thing about programming is that you can make yourself if you don't like it :) The downside is that it takes a lot of time to create it yourself .. Posted by mvdb at January 8, 2003 03:48 PM