JavaFX 2 memory leaks in StyleManager (making FX2 completely unusable for application development)

Tom Schindl tom.schindl at bestsolution.at
Tue Jul 30 05:40:57 PDT 2013


Ok - our problem has nothing to do with switching stylesheets! It simply
happens while running the application. Too me it looks like when ever
the CSS-Engine reapplies styles (e.g. because of pseudostate change) it
creates an image object instead of reusing the old one.

Tom

On 30.07.13 14:37, Ali Ebrahimi wrote:
> This is issue: https://javafx-jira.kenai.com/browse/RT-29055
> Can you try this?
> 
> 
> On Tue, Jul 30, 2013 at 4:38 PM, Sven Reimers <sven.reimers at gmail.com
> <mailto:sven.reimers at gmail.com>> wrote:
> 
>     Any chance you can track down why it is leaking?
> 
>     -Sven
> 
> 
>     On Tue, Jul 30, 2013 at 1:46 PM, Ali Ebrahimi
>     <ali.ebrahimi1781 at gmail.com <mailto:ali.ebrahimi1781 at gmail.com>> wrote:
> 
>         I sent a similar memory leak report a while ago for Modena demo
>         app, and
>         they just close issue As Not producible. But I can see the same
>         issue just
>         Now.
> 
> 
>         On Tue, Jul 30, 2013 at 3:58 PM, Tom Schindl
>         <tom.schindl at bestsolution.at
>         <mailto:tom.schindl at bestsolution.at>>wrote:
> 
>         > [resending because mail was blocked yesterday because of
>         included images]
>         > Hi,
>         >
>         > I've been debugging a JavaFX application with a customer and
>         we've found
>         > a tremendous memory leak in StyleManager when using icons.
>         >
>         > This bug makes JavaFX 2.x completely unusable because the
>         application is
>         > using up to 1.5GB and more within a few mintues! Has anyone
>         seen this
>         > and if I file a bug could I expect a bugfix in FX2?
>         >
>         > The screenshots from the Memory Analyzer can be seen at:
>         > http://www.efxclipse.org/image001.png
>         > http://www.efxclipse.org/image002.png
>         >
>         > Tom
>         >
> 
> 
> 
> 
>     -- 
>     Sven Reimers
> 
>     * Senior Expert Software Architect
>     * NetBeans Dream Team Member: http://dreamteam.netbeans.org
>     * Community Leader  NetBeans: http://community.java.net/netbeans
>                                   Desktop Java:
>     http://community.java.net/javadesktop
>     * Duke's Choice Award Winner 2009
>     * Blog: http://nbguru.blogspot.com
> 
>     * XING: https://www.xing.com/profile/Sven_Reimers8
>     * LinkedIn: http://www.linkedin.com/in/svenreimers
> 
>     Join the NetBeans Groups:
>     * XING: http://www.xing.com/group-20148.82db20
>     * NUGM: http://haug-server.dyndns.org/display/NUGM/Home
>     * LinkedIn: http://www.linkedin.com/groups?gid=1860468
>                        http://www.linkedin.com/groups?gid=107402
>                        http://www.linkedin.com/groups?gid=1684717
>     * Oracle: https://mix.oracle.com/groups/18497
> 
> 



More information about the openjfx-dev mailing list