Indigo is now out, and with this also the new Memory Analyzer 1.1.0 release.
I just updated the MAT download page to point to the new release: http://www.eclipse.org/mat/downloads.php
I noticed in the NoteWorthy document that you can extract Ruby request information. how can I extract request information for (.jsp) JSP pages, or more importantly, for ColdFusion (.cfm) pages.
ColdFusion (written in Java) is extremely popular and its Open Source edition (Railo) is becoming more popular daily. it would be great if we could use the Memory Analyzer to diagnose ColdFusion problems.
I do believe that wiring analysis tools specific for a certain product or domain could greatly improve the troubleshooting in the area.
And as we (the MAT team) do not have the know how for any product, we can't do this on our own. But I hope we could provide the basic infrastructure (like parsing, API to access the data, APIs to extend the tool) to enable such kind ot tools/MAT extensions. I will be very happy to see more such activities.
MAT offers a set of APIs for extracting data from the heap dump. I am pretty sure that if you explore several heap dumps from ColdFusion/Ralio applications you may get some ideas what would be useful to extract. http://wiki.eclipse.org/MemoryAnalyzer/Reading_Data_from_Heap_Dumps
I would like to say that everything is very nicely documented and well described, but this is unfortunatelly not the case. I hope though, that the info will be enough to get started. And I could help (via this forum, the mat-dev mailing list or bugzilla) when questions arise. I would be happy to get some feedback (also negative) on the documentation pages.
I realize that ColdFusion (.cfm) might not have a plugin already created, but I'm surprised that JSP doesn't have one. or maybe there is one and I am not aware of it?
I hope that my skills will be up to the challenge of writing a plugin. I guess I will have to start and find out. I will start by looking at your code for the JRubyPlugin and the JRubyScriptResolver.
I believe that I've setup the environment according to the instructions at:
//wiki.eclipse.org/index.php?title=MemoryAnalyzer/Contributor_Reference#Setup
I launched the standalone MAT and then clicked the "debug" menu button and chose 'MAT-configuration' which is how I named the "new Eclipse Application configuration" that I created.
!ENTRY org.eclipse.equinox.app 0 0 2011-06-27 16:49:56.486
!MESSAGE Product org.eclipse.mat.ui.rcp.MemoryAnalyzer could not be found.
!ENTRY org.eclipse.osgi 4 0 2011-06-27 16:49:56.633
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:242)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
was I supposed to create a new project for the plugin at this point?
I downloaded the JRuby plugin code but didn't "attach" it cause I wasn't sure how to. unfortunately I'm new to Eclipse so some of my questions might seem trivial.
this does sound strange. If I understand properly you have checked out the sources and try to run MAT from the sources? When you go to "Plug-ins" tab on the Run configuration, are the org.eclipe.mat.* plugins selected?(should be visible under "Workspace" if everything went fine).
Only the org.eclipse.mat.tests should be deselected.