[
https://issues.apache.org/jira/browse/PIVOT-752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13049816#comment-13049816
]
Chris Bartlett commented on PIVOT-752:
--------------------------------------
Edgar,
How do I see the memory leak you mention?
Do I have to
1) profile your attached app
2) or can I just leave the attached app running long enough?
So for example, could I set up the JVM with limited resources and let it run
until some kind of out-of-memory error occurs?
If 1) Where exactly were you looking/profiling? I can see Bounds &
AffineTransform objects created in ScaleDecorator, but no Rectangles. Did you
mean the paint/repaint code within Component or another class?
If 2) Could you please describe the JVM arguments you use to replicate the
problem?
> 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