Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Memory Analyzer » Memory Analyzer 1.1.0 is released
Memory Analyzer 1.1.0 is released [message #686551] Wed, 22 June 2011 13:45 Go to next message
Krum Tsvetkov is currently offline Krum TsvetkovFriend
Messages: 149
Registered: July 2009
Senior Member
Hi,

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

New & Noteworthy is available here: http://www.eclipse.org/mat/1.1/noteworthy.html

This year also our documentation and API reference is included into the common help page:
http://help.eclipse.org/indigo/
http://help.eclipse.org/indigo/topic/org.eclipse.mat.ui.help/welcome.html

Thanks to everyone who helped for this release - with code contributions, with ideas, with giving us feedback!

Krum
Re: Memory Analyzer 1.1.0 is released [message #687683 is a reply to message #686551] Thu, 23 June 2011 02:15 Go to previous messageGo to next message
dev is currently offline devFriend
Messages: 3
Registered: June 2011
Junior Member
hi Krum,

this is really cool!

I have a question though:

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.

thanks in advance, and keep up the good work!


Jay


Re: Memory Analyzer 1.1.0 is released [message #689211 is a reply to message #687683] Mon, 27 June 2011 07:22 Go to previous messageGo to next message
Krum Tsvetkov is currently offline Krum TsvetkovFriend
Messages: 149
Registered: July 2009
Senior Member
Hi Jay,

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.

Now to the question Smile
As a starting point have a look at "Writing plugins for MAT":
http://wiki.eclipse.org/index.php?title=MemoryAnalyzer/Contributor_Reference#Writing_plugins_for_the_Memory_Analyzer

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

MAT also offers several extension points which will help you get your code into the tool. Look here http://wiki.eclipse.org/MemoryAnalyzer/Extending_Memory_Analyzer more details. The one adding request information to the suspects report/thread details is http://wiki.eclipse.org/MemoryAnalyzer/Extending_Memory_Analyzer#Request_Resolvers .

The javadoc for the API and some documentation on the extension points is available within the tool "Help" / "Memory Analyzer" / "Reference" / "API Reference"; or online http://help.eclipse.org/indigo/topic/org.eclipse.mat.ui.help/doc/index.html .

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.

Let me know if this helps.

Krum
Re: Memory Analyzer 1.1.0 is released [message #689576 is a reply to message #689211] Mon, 27 June 2011 21:55 Go to previous messageGo to next message
dev is currently offline devFriend
Messages: 3
Registered: June 2011
Junior Member
hi Krum,

first of all, this is VERY Helpful! thank you Smile

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'm sure that I'll have more questions coming...

thanks again,


Jay
Re: Memory Analyzer 1.1.0 is released [message #689599 is a reply to message #689211] Mon, 27 June 2011 23:56 Go to previous messageGo to next message
dev is currently offline devFriend
Messages: 3
Registered: June 2011
Junior Member
hi Krum,

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.

I get the following error:

!SESSION 2011-06-27 16:49:55.423 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_25
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.mat.ui.rcp.MemoryAnalyzer
Command-line arguments: -product org.eclipse.mat.ui.rcp.MemoryAnalyzer -data F:\Users\Admin\workspace/../runtime-MAT-configuration -dev file:F:/Users/Admin/workspace/.metadata/.plugins/org.eclipse.pde.core/MAT-configuration/dev.properties -os win32 -ws win32 -arch x86 -consoleLog

!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.


Jay

Re: Memory Analyzer 1.1.0 is released [message #690451 is a reply to message #689599] Wed, 29 June 2011 14:41 Go to previous message
Krum Tsvetkov is currently offline Krum TsvetkovFriend
Messages: 149
Registered: July 2009
Senior Member
Hi,

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.

An alternative approach (to working with the MAT sources) could be to setup MAT as your target platform. This is described here:
http://wiki.eclipse.org/MemoryAnalyzer/Extending_Memory_Analyzer#Setting_up_a_development_environment_for_writing_extensions
I'm not sure if this could help.

Sorry if the description was misleading at some point. Let's try to figure out what went wrong and I'll try to improve the description.

Krum


Previous Topic:Setting up workspace directory?
Next Topic:View SVN link is broken
Goto Forum:
  


Current Time: Thu Nov 27 12:10:48 GMT 2014

Powered by FUDForum. Page generated in 0.03569 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software