Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Memory Analyzer » Auto launch an user defined query(Auto launch an user defined query)
Auto launch an user defined query [message #1828780] Thu, 18 June 2020 12:56 Go to next message
G Xu is currently offline G XuFriend
Messages: 3
Registered: June 2020
Junior Member
Currently, MAT has the ability to auto launch the leak suspect query, I am wondering if there is a way to define my own.

We use MAT not only to address memory issue, but also at times, we'd like to have the process information available right after parsing complete.

This will save a manual query and user waiting time after a very long parsing.
Re: Auto launch an user defined query [message #1828821 is a reply to message #1828780] Fri, 19 June 2020 09:06 Go to previous messageGo to next message
Andrew Johnson is currently offline Andrew JohnsonFriend
Messages: 205
Registered: July 2009
Senior Member
I'm not sure whether you are talking about batch mode or GUI mode.

In batch mode it shows running a built-in report as
./mat/ParseHeapDump.sh myheapdump.hprof org.eclipse.mat.api:suspects
where the report or reports here are given as a plugin defined report. You can also give a path to your own XML report file.

In GUI mode the 'Getting Started' wizard choices are fixed.


  • Leak Suspects Report
  • Component Report
  • Re-open previously run reports


Those are not run automatically - the user needs to chose one or cancel it.

The user can then select a report from the 'Run Expert System Test' menu.

The overview page also has some links to run reports. See 361695: Proposed patch to add report extension to Overview pane for how reports starting with the name 'supplement_' are added to this page.
Re: Auto launch an user defined query [message #1828831 is a reply to message #1828821] Fri, 19 June 2020 13:11 Go to previous message
G Xu is currently offline G XuFriend
Messages: 3
Registered: June 2020
Junior Member
Thanks Andrew.

I am suggesting to auto run a user defined query if user choose to in UI.

For example

[x] Process Information (user defined)
• Leak Suspects Report
• Component Report
• Re-open previously run reports

[x[ means auto run.

Understand the batch mode and we are using it.
Previous Topic:OOM error Finalizer
Next Topic:How to import google gson in eclipse MAT
Goto Forum:
  


Current Time: Thu Mar 28 14:52:39 GMT 2024

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

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

Back to the top