eclipse / jifa

🔬 Online Heap Dump, GC Log, Thread Dump & JFR File Analyzer.
https://eclipse.github.io/jifa/
Eclipse Public License 2.0
543 stars 96 forks source link

How can I use the jifa without docker? #241

Closed XuPengfei-1020 closed 1 year ago

XuPengfei-1020 commented 1 year ago

I dump a large memory file on the server, but the server machine in production enviroument can not access the internet (for safety) . I can download the jifa assets from github and update them to the server machine manually, but I do not know how to use it juse with jifa(without docker, caused by no internet), I do not know what is the usage, the option argument in this situation.

The dump file is large(more than 100G usually) so I can not download it to my PC, eclipse mat do not support the visual UI on linux server, jifa is exciting tool!

Thanks for your reply!

XuPengfei-1020 commented 1 year ago

Ignore this issue, I got the answer in the code, I will write a conduction doc to help others in the same scene later.

And, maybe we need 'discard_ratio' and 'discard_pattern' options to support to analysis huge dump file(discard some objects for avoid OOM). see: https://help.eclipse.org/latest/index.jsp?topic=%2Forg.eclipse.mat.ui.help%2Ftasks%2Fbatch.html&anchor=task_batch__discard

I will commit code to support this funcion, thank, a great tool!

XuPengfei-1020 commented 1 year ago

Ignore this issue, I got the answer in the code, I will write a conduction doc to help others in the same scene later.

And, maybe we need 'discard_ratio' and 'discard_pattern' options to support to analysis huge dump file(discard some objects for avoid OOM). see: https://help.eclipse.org/latest/index.jsp?topic=%2Forg.eclipse.mat.ui.help%2Ftasks%2Fbatch.html&anchor=task_batch__discard

I will commit code to support this funcion, thank, a great tool!

Issue a pr: https://github.com/eclipse/jifa/pull/242