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 215397 - OutOfMemoryError: can't create offscreen surface
Summary: OutOfMemoryError: can't create offscreen surface
Status: RESOLVED INCOMPLETE
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 8.0
Hardware: All Mac OS X
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL: http://bugs.sun.com/bugdatabase/view_...
Keywords: PERFORMANCE
: 221886 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-07-11 11:32 UTC by ercee
Modified: 2013-11-27 11:36 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 188335


Attachments
stacktrace (363 bytes, text/plain)
2012-07-11 11:32 UTC, ercee
Details
IDE log (74.77 KB, text/plain)
2013-08-09 18:47 UTC, theshadow27
Details
Threadump (17.15 KB, application/octet-stream)
2013-09-18 19:42 UTC, mfriedenhagen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ercee 2012-07-11 11:32:38 UTC
Build: NetBeans IDE 7.2 Beta (Build 201205031832)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b20
OS: Mac OS X

User Comments:
GUEST: opening java class for jframe in design mode from main project package




Stacktrace: 
java.lang.OutOfMemoryError: can't create offscreen surface
   at sun.java2d.opengl.OGLSurfaceData.initSurfaceNow(OGLSurfaceData.java:298)
   at sun.java2d.opengl.OGLSurfaceData.access$000(OGLSurfaceData.java:98)
   at sun.java2d.opengl.OGLSurfaceData$1.run(OGLSurfaceData.java:324)
   at sun.java2d.opengl.OGLRenderQueue$QueueFlusher.run(OGLRenderQueue.java:234)
Comment 1 ercee 2012-07-11 11:32:40 UTC
Created attachment 121927 [details]
stacktrace
Comment 2 Antonin Nebuzelsky 2012-07-31 11:17:19 UTC
Related to jdk issue:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7160609

which was workarounded in 7.2 after Beta. Only duplicate reports from 7.2 Beta are reported here.

Closing fixed now, unless new reports from final 7.2 appear here.
Comment 3 Marian Mirilovic 2012-11-11 13:49:35 UTC
*** Bug 221886 has been marked as a duplicate of this bug. ***
Comment 4 Marian Mirilovic 2012-11-11 13:50:06 UTC
Last dup came from NB 7.3 ... reopen
Comment 5 Stanislav Aubrecht 2012-11-29 13:54:31 UTC
The JDK bug is fixed in 1.7 update 12
Comment 6 theshadow27 2013-08-09 18:47:32 UTC
This occurred with 7.4 beta on 1.7u25, see http://statistics.netbeans.org/analytics/exception.do?id=685622
Comment 7 theshadow27 2013-08-09 18:47:35 UTC
Created attachment 138512 [details]
IDE log
Comment 8 Stanislav Aubrecht 2013-08-12 07:48:54 UTC
(In reply to theshadow27 from comment #6)
> This occurred with 7.4 beta on 1.7u25, see
> http://statistics.netbeans.org/analytics/exception.do?id=685622

Reporter, can you attach heap dump?
Comment 9 Stanislav Aubrecht 2013-08-21 13:13:46 UTC
Please provide the requested thread dump then reopen, thanks.
Comment 10 mfriedenhagen 2013-09-18 19:42:30 UTC
Created attachment 140226 [details]
Threadump
Comment 11 mfriedenhagen 2013-09-18 19:43:30 UTC
I got this on:

Product Version: NetBeans IDE Dev (Build 201309180002)
Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b56
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43
System: Mac OS X version 10.8.5 running on x86_64; UTF-8; de_DE (nb)
User directory: /Users/mirko/Library/Application Support/NetBeans/dev
Cache directory: /Users/mirko/Library/Caches/NetBeans/dev
Comment 12 Stanislav Aubrecht 2013-09-19 08:37:07 UTC
(In reply to mfriedenhagen from comment #10)
> Created attachment 140226 [details]
> Threadump

Sorry, I actually meant heap dump - typo in my comment #9
Comment 13 Stanislav Aubrecht 2013-09-19 08:57:09 UTC
Possibly related JDK bug: https://bugs.openjdk.java.net/browse/JI-7181956
Comment 14 Stanislav Aubrecht 2013-11-27 11:36:10 UTC
Please provide a heap dump and reopen, thanks.