mat stand-alone : MemoryAnalyzer-1.3.0.20130517-linux.gtk.x86_64
crash on org.eclipse.swt.internal.webkit.WebKitGTK._soup_session_feature_detach, the same error as Eclipse JUNO (4.2), try to fix it with the same way:
add "-Dorg.eclipse.swt.browser.DefaultType=mozilla" in MemoryAnalyzer.ini
restart, another error in log (mat/workspace/.metadata/.log)
Caused by: org.eclipse.swt.SWTError: No more handles [Could not detect registered XULRunner to use]
at org.eclipse.swt.SWT.error(SWT.java:4308)
at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:683)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:99)
at org.eclipse.mat.ui.internal.panes.QueryTextResultPane.createPartControl(QueryTextResultPane.java:72)
at org.eclipse.mat.ui.editor.MultiPaneEditor.addPage(MultiPaneEditor.java:585)
at org.eclipse.mat.ui.editor.MultiPaneEditor.addPage(MultiPaneEditor.java:574)
at org.eclipse.mat.ui.editor.MultiPaneEditor.addNewPage(MultiPaneEditor.java:496)
at org.eclipse.mat.ui.QueryExecution.doDisplayResult(QueryExecution.java:300)
at org.eclipse.mat.ui.QueryExecution.access$0(QueryExecution.java:240)
at org.eclipse.mat.ui.QueryExecution$1.run(QueryExecution.java:144)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
... 23 more
add "-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib64/xulrunner-17" in MemoryAnalyzer.inifrom answer Re: swt browser No more handles Error - Author: Thiha - stackoverflow.com
restart, another error again:
Caused by: org.eclipse.swt.SWTError: XPCOM error -2147467261
at org.eclipse.swt.browser.Mozilla.error(Mozilla.java:2502)
at org.eclipse.swt.browser.Mozilla.initXPCOM(Mozilla.java:1902)
at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:700)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:99)
at org.eclipse.mat.ui.internal.panes.QueryTextResultPane.createPartControl(QueryTextResultPane.java:72)
at org.eclipse.mat.ui.editor.MultiPaneEditor.addPage(MultiPaneEditor.java:585)
won't solve it. Just use mat plugin in Eclipse kepler (4.3, no WebKitGTK issue), or just extract heap_*.zip (after doing some Action in mat stand-alone, in the same folder of heap.bin, e.g. heap_Top_Consumers.zip) and view them in browser.--Eclipse Help -> Memory Analyzer
The font size can't be changed, the content is served by embedded jetty, just copy the link via "Copy Link Location" in TOC and view them in browser. In fact, the help files are in eclipse/plugins/org.eclipse.mat.ui.help_1.3.0.201305170842.jar, but some documents are xml format.
No comments:
Post a Comment