[
https://issues.apache.org/jira/browse/ARTEMIS-2984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Francesco Nigro updated ARTEMIS-2984:
-------------------------------------
Description:
Compressed large messages use native resources in the form of Inflater and
Deflater and should release them in a timely manner (instead of relying on
finalization) to save OOM to happen (of direct memory, to be precise).
This issue has the chance to simplify a lot the large message controller,
because much of the existing code on controllers (including compressed one)
isn't needed at runtime, but just for testing purposes and a proper fix can
move dead code there too, saving leaky behavior to be maintained.
> Compressed large messages can leak native resources
> ---------------------------------------------------
>
> Key: ARTEMIS-2984
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2984
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: Francesco Nigro
> Assignee: Francesco Nigro
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Compressed large messages use native resources in the form of Inflater and
> Deflater and should release them in a timely manner (instead of relying on
> finalization) to save OOM to happen (of direct memory, to be precise).
> This issue has the chance to simplify a lot the large message controller,
> because much of the existing code on controllers (including compressed one)
> isn't needed at runtime, but just for testing purposes and a proper fix can
> move dead code there too, saving leaky behavior to be maintained.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)