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 271937 - The file seems to be too large (1 Mb) to safely open.
Summary: The file seems to be too large (1 Mb) to safely open.
Status: NEW
Alias: None
Product: utilities
Classification: Unclassified
Component: Open File (show other bugs)
Version: 8.2
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: Jaroslav Havlin
Depends on:
Reported: 2017-12-21 14:49 UTC by sjibben
Modified: 2017-12-21 14:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description sjibben 2017-12-21 14:49:13 UTC
The warning:

The file seems to be too large (1Mb) to safely open.
Opening the file could cause OutOfMemoryError, which would make the IDE unusable.  Do you really want to open it? (Yes/No buttons)

appears when opening a large .java file.  The Yes/No buttons work fine.

The problem is that Netbeans prompts with this message every time I load Netbeans now.

I press the No button and the dialog goes away (and the file does not load)

I press the Yes button and the file is loaded.  Then I close the file.

In either situation the next time I load NetBeans, it will again prompt me regarding this file that I opened two weeks ago.

I want NetBeans to re-open the files that I had open last session but even though this file is closed, the dialog keeps coming back.