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 - Disable automatic reporting of OOME in some cases
Summary: Disable automatic reporting of OOME in some cases
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Logger (show other bugs)
Version: 8.1
Hardware: All All
: P2 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-25 13:13 UTC by Tomas Hurka
Modified: 2015-07-23 01:15 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.