[jira] [Commented] (TIKA-3144) Detecting hprof memory dump files exported from Android Studio

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (TIKA-3144) Detecting hprof memory dump files exported from Android Studio

Sebastian Nagel (Jira)

    [ https://issues.apache.org/jira/browse/TIKA-3144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17169093#comment-17169093 ]

Hudson commented on TIKA-3144:
------------------------------

SUCCESS: Integrated in Jenkins build tika-main-jdk11 #1017 (See [https://builds.apache.org/job/tika-main-jdk11/1017/])
TIKA-3144 -- add mime detection for hprof and hprof text. (tallison: [https://github.com/apache/tika/commit/995df88a334b7e8508a680c4f2800ffb2095c041])
* (add) tika-parsers/src/test/resources/test-documents/testJavaHprofBinary
* (edit) tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
* (add) tika-parsers/src/test/resources/test-documents/testJavaHprofText
* (edit) tika-parsers/src/test/java/org/apache/tika/mime/TestMimeTypes.java


> Detecting hprof memory dump files exported from Android Studio
> --------------------------------------------------------------
>
>                 Key: TIKA-3144
>                 URL: https://issues.apache.org/jira/browse/TIKA-3144
>             Project: Tika
>          Issue Type: New Feature
>          Components: detector, parser
>            Reporter: Parth
>            Priority: Major
>              Labels: android-studio, hprof, memory-dump
>
> I was trying to detect a hprof file by downloading and passing it as input stream to tika. But the MIME type is being detected as `application/octantstream`. Can a more granular support for detecting if a file is of type hprof be added?
> Hprof files are Java memory dump files and you can read more about it here: https://dzone.com/articles/memory-analysis-how-to-obtain-java-heat-dump
> I had found this parser for hprof in Java if it helps: https://github.com/eaftan/hprof-parser



--
This message was sent by Atlassian Jira
(v8.3.4#803005)