This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 216363 - JavaFX browser freezes IDE with java.lang.OutOfMemoryError: Java heap space
Summary: JavaFX browser freezes IDE with java.lang.OutOfMemoryError: Java heap space
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 7.2
Hardware: PC Linux
: P2 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-03 12:17 UTC by Vladimir Riha
Modified: 2012-10-31 15:44 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (50.21 KB, text/x-log)
2012-08-03 12:17 UTC, Vladimir Riha
Details
thread dump (20.42 KB, text/x-log)
2012-08-03 12:18 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2012-08-03 12:17:36 UTC
Created attachment 122714 [details]
IDE log

I played with zooming (different values, small or negative values etc. - 10%, 1%, -1%, 0%) in JavaFX browser. After some time the ide freezes with OutOfMemoryError in console.
Comment 1 Vladimir Riha 2012-08-03 12:18:07 UTC
Created attachment 122715 [details]
thread dump

JavaFX version: 2.2.0 b20
Comment 2 Stanislav Aubrecht 2012-08-15 10:54:06 UTC
I wasn't able to reproduce this problem on Windows 7 with the same JDK.
Are there any exact steps to reproduce? Can you attach profiler snapshot?
Comment 3 Vladimir Riha 2012-08-15 12:23:26 UTC
Sorry, no exact steps than random zooming. I'll try to reproduce it and attach the additional information
Comment 4 Vladimir Riha 2012-08-16 08:22:30 UTC
I just reproduced it, roughly with these steps:

- open sampleApp.zip from Easel wiki (I can send link privately)
- run the file debugger.html in embedded JavaFX browser (apparently it has to be "bigger" file)
- change the zoom to -5%,1%,10%,500%... after about 10 times there is the OutOfMemory error.


The IDE freezes for some (long) time, not totally. I tried to profile it with VisualVM but it doesn't work (either it cannot find NetBeans or profiling is stuck on "refreshing").


  Product Version         = NetBeans IDE Dev (Build EaselCSS-504-on-20120815)   Operating System        = Linux version 3.0.0-23-generic-pae running on i386
  Java; VM; Vendor        = 1.7.0_06; Java HotSpot(TM) Client VM 23.2-b09; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 1.7.0_06-b24
Comment 5 Stanislav Aubrecht 2012-10-31 15:44:05 UTC
http://javafx-jira.kenai.com/browse/RT-25930