[
https://issues.apache.org/jira/browse/BVAL-183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Romain Manni-Bucau resolved BVAL-183.
-------------------------------------
Fix Version/s: 2.0.5
Resolution: Fixed
> 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)