You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "László Bodor (Jira)" <ji...@apache.org> on 2023/09/21 12:33:00 UTC

[jira] [Commented] (HIVE-27695) Intermittent OOM when running TestMiniTezCliDriver

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

László Bodor commented on HIVE-27695:
-------------------------------------

can you please clarify how did you get the heapdump? it could be used in the scope of HIVE-27719 with minimal or no modification

> Intermittent OOM when running TestMiniTezCliDriver
> --------------------------------------------------
>
>                 Key: HIVE-27695
>                 URL: https://issues.apache.org/jira/browse/HIVE-27695
>             Project: Hive
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 4.0.0-beta-1
>            Reporter: Stamatis Zampetakis
>            Assignee: Stamatis Zampetakis
>            Priority: Major
>         Attachments: am_heap_dumps.tar.xz, leak_suspect_1.png
>
>
> Running all the tests under TestMiniTezCliDriver very frequently (but still intermittently) leads to OutOfMemory errors.
> {noformat}
> cd itests/qtest && mvn test -Dtest=TestMiniTezCliDriver
> {noformat}
> I set {{-XX:+HeapDumpOnOutOfMemoryError}} and the respective heapdumps are attached to this ticket.
> The OOM is thrown from the application master and a quick inspection of the dumps shows that it comes mainly from the accumulation of Configuration objects (~1MB each) by various classes.
> The max heap size for application master is pretty low (~100MB) so it is quite easy to reach. The heap size is explicitly very low for testing purposes but maybe we should re-evaluate the current configurations for the tests.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)