I've been spending lots of time with NetBeans profiler, but I'm unable to get passed various runtime errors.
I've done Internet searches and found a dozen open source profilers that seem to be abandoned. JProbe looks great, but it's $700, which is completely out of my budget (I'd happily pay $100-$150 for a really nice profiler, but $700 is just too much for a tool on a personal project). Can I add Java code to query the JVM for memory usage and CPU usage info and use logs of that data to optimize? Specifcally, is it possible to query: - Amount of memory currently used by JVM? - Amount of memory used by a given HashMap (including keys + values)? - CPU cycle-type metrics? Of course, system clock is great, but sometimes, a more direct measure is preferred Also, when I use Java JConsole.exe, heap memory is split into Eden Space, Survivor Space, and Tenured/Old Space. I've read the docs, and don't quite understand the distinction between Eden/Survivor space. Could someone attempt to explain this? Alternatively, is there another platform with better performance characteristics and optimization tools than Java? I can migrate to a different dev toolset if need be. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/javaposse?hl=en -~----------~----~----~----~------~----~------~--~---
