-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to click the reference pattern hyperlink from heap dump file generated via linux command #45
Comments
By Gowtham K on Dec 28, 2023 01:48 we have only a Linux server to analyze the heap dump, able to see only the leak suspect but we need to analysis deeper to know the cause. Kindly suggest to analysis the heap dump deeper in Linux command line. |
By Andrew Johnson on Jan 03, 2024 11:31 It's a fairly common pattern to have a Linux server analysing big dumps, then view the leak suspects report from another computer. There is a limit to how much information can be sensibly be included in the HTML report. We have expanded this a little in MAT 1.15.0 in the thread information etc. Once the dump has been parsed on the big server, it is possible to move the dump and all the index files and the reports to another computer and run MAT there. MAT should use a lot less heap in this situation, so you might be able to open the Run Expert System Test > Open Report menu item to view the report in MAT. The hyperlinks should then work. Is there a particular item you want to see from the reference pattern hyperlink? I think the hyperlink looks something like: mat://query/merge_shortest_paths+SELECT+*+FROM+java.lang.Class+s+WHERE+dominatorof%28s%29+%3D+null%3B+-groupby+FROM_GC_ROOTS_BY_CLASS+-excludes+java.lang.ref.Reference%3Areferent+java.lang.ref.Finalizer%3Aunfinalized+java.lang.Runtime%3A%3CUnfinalized%3E%3B Having the full merge_shortest_paths tree in the HTML report is going to be too big. Another idea is to run an X-Server on your local computer and set up DISPLAY etc. on your server computer (if you have permissions to install and run MAT in GUI mode on your big Linux server). |
By Gowtham K on Jan 04, 2024 07:56 Your suggestions are beneficial to my ends; The heap dump has been parsed on the large server, but the client will not share the dump file (.hprof), only the index file. Is there a Linux command that will allow me to access the reference pattern hyperlink? If MAT is installed in a VDI environment but the client refuses to share the dump file (.hprof). Is there a way to open an index file other than a (.hprof) file in MAT to analyze a specific piece of code? |
By Andrew Johnson on Jan 05, 2024 08:46 The mat: hyperlinks only make sense to Memory Analyzer when it has opened the If the client is worried about sensitive data, then the Export HPROF query might help. This can generate a new hprof file with various types of data removed: https://help.eclipse.org/latest/index.jsp?topic=%2Forg.eclipse.mat.ui.help%2Ftasks%2Fexportdump.html Please read through the above documentation and perhaps you and your client can agree a suitable level of redections. |
By Gowtham K on Jan 09, 2024 00:00 After attempting the point in the documentation, heap dump parsing takes more than 11 hours for 7.1GB of heap dump. Kindly share an alternate solution in the Linux command. |
By Andrew Johnson on Jan 21, 2024 09:23 It would be useful to see the error log from MAT. Window > Error Log > Save as It would also be useful to see the start up options for MAT in |
By Gowtham K on Feb 05, 2024 00:43 FYI, I attached the error log while parsing a 42 GB dump file using Linux command. org.eclipse.mat.SnapshotException: Illegal primitive object array type when parsing 42 GB heap dump using Linux command Error message: org.eclipse.mat.SnapshotException: Illegal primitive object array type Kindly suggest any ideas to overcome this issue. |
By Gowtham K on Feb 13, 2024 23:55 Any update on this? |
Hi team, I have just released CLIMAT, a plugin extension to MAT which enables no-GUI traversal of HPROF files. This does not relate to Gowtham's most recent update with the Pass1Parser error (that appears to be an unrelated issue). CC @ajohnson1 since we discussed this some time ago. |
| --- | --- |
| Bugzilla Link | 582803 |
| Status | NEW |
| Importance | P3 critical |
| Reported | Dec 21, 2023 08:57 EDT |
| Modified | Feb 13, 2024 23:55 EDT |
| Version | 1.15 |
| Reporter | Gowtham K |
Description
Unable to click the reference pattern hyperlink from heap dump file generated via linux command.
Kindly suggest any ideas or parameters to access the reference pattern hyperlink to analyze deeper.
The text was updated successfully, but these errors were encountered: