You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bval.apache.org by "Thomas Andraschko (Jira)" <ji...@apache.org> on 2020/10/20 07:45:00 UTC
[jira] [Closed] (BVAL-183) Memory leak on ValueExtractors
[ https://issues.apache.org/jira/browse/BVAL-183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Andraschko closed BVAL-183.
----------------------------------
> Memory leak on ValueExtractors
> ------------------------------
>
> Key: BVAL-183
> URL: https://issues.apache.org/jira/browse/BVAL-183
> Project: BVal
> Issue Type: Bug
> Reporter: Jean-Louis Monteiro
> Priority: Major
> Fix For: 2.0.5
>
> Attachments: leak1.png, leak2.png
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> When using Apache BVal on a JAX RS endpoint, even if there is nothing to validate, Apache CXF will call executableValidator to validate the parameters, the return value and so on.
>
> When creating the validator from the factory, the value extractors will be created again and again, with the child creating memory leaks (see picture of a small REST endpoint without validation constraints - after a few minutes, memory is full of Lazy and ValueExtractors).
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)