[
https://issues.apache.org/jira/browse/PIVOT-752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13049822#comment-13049822
]
Edgar Merino commented on PIVOT-752:
------------------------------------
Hello Chris, I did some more tests on this and seems like I was wrong, the
first tests I made were done in a computer with limited ram, I was ignoring the
garbage collection algorithm being used too so I guess this was a false alarm.
Regarding your comments, if you still want to check if this was a false alarm
or not, I profiled the application using netbeans and the main objects that
were being created and *apparently* not released by the vm were Bounds and
AffineTransform, I never got to the point were the vm throws an out of memory
exception though.
> Possible memory leak in Pivot Decorators, for example in ScaleDecorator
> -----------------------------------------------------------------------
>
> Key: PIVOT-752
> URL: https://issues.apache.org/jira/browse/PIVOT-752
> Project: Pivot
> Issue Type: Bug
> Components: wtk-effects
> Affects Versions: 2.0
> Reporter: Edgar Merino
> Priority: Minor
> Fix For: 2.0.1
>
> Attachments: TestTransition.java
>
>
> I provide a simple test case that should demonstrate this leak, it requires
> the fix for issue 749 (https://issues.apache.org/jira/browse/PIVOT-749). By
> profiling this test, you can see that resources allocated for
> AffineTransforms, Rectangle and Bounds are not being released by the vm.
> Perhaps this is not related to ScaleDecorators directly, but using them makes
> this bug appear.
> The test case is attached.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira