зеркало из
https://github.com/iharh/notes.git
synced 2025-10-29 20:56:06 +02:00
28 строки
665 B
Plaintext
28 строки
665 B
Plaintext
shallow
|
|
size of the obj itself with headers/fields, but without fields' values
|
|
retained
|
|
|
|
|
|
https://plumbr.eu/blog/memory-leaks/solving-outofmemoryerror-memory-profilers
|
|
|
|
|
|
mat_dump_analyze.bat:
|
|
@echo off
|
|
setlocal
|
|
|
|
REM Usage: ParseHeapDump.bat <path/to/dump.hprof> [report]*
|
|
REM
|
|
REM The leak report has the id org.eclipse.mat.api:suspects
|
|
REM
|
|
|
|
:: org.eclipse.mat.api:suspects
|
|
:: org.eclipse.mat.api:top_components
|
|
%~dp0..\java\jtools\mat\MemoryAnalyzer.exe -consoleLog -application org.eclipse.mat.api.parse -keep_unreachable_objects %*
|
|
:: org.eclipse.mat.api:suspects org.eclipse.mat.api:top_components
|
|
::
|
|
|
|
endlocal
|
|
|
|
2020
|
|
https://habr.com/ru/post/519830/
|