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 253184

Summary: Disable automatic reporting of OOME in some cases
Product: ide Reporter: Tomas Hurka <thurka>
Component: LoggerAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED FIXED    
Severity: normal CC: sdedic
Priority: P2    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Tomas Hurka 2015-06-25 13:13:01 UTC
Automatic reporting of OOME should be disabled if the user opens large file after clicking 'yes' in the warning dialog "The file FFFF seems to be too large (KKK MB) to safely open. Opening the file could cause OutOfMemoryError, which would make the IDE unusable. Do you really want to open it?"
Comment 1 Tomas Hurka 2015-06-25 14:14:11 UTC
The fix will need to modify org.openide.text.DataEditorSupport to notify uihandler module.
Comment 2 Martin Entlicher 2015-07-21 16:48:49 UTC
Fixed by changeset:   290005:7c411701e7e6
http://hg.netbeans.org/core-main/rev/7c411701e7e6
Comment 3 Quality Engineering 2015-07-23 01:15:27 UTC
Integrated into 'main-silver', will be available in build *201507230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/7c411701e7e6
User: mentlicher@netbeans.org
Log: #253184: Disable OOME reporting when the user opens a file that is too big.