cornercorner
FeaturesPluginsPlatformDocs & SupportCommunityPartners

Bug 155031 - Warning when loading large file (File seems to be too large, may cause OutOfMemoryError) only provides OK button
: Warning when loading large file (File seems to be too large, may cause OutOfM...
Status: NEW
: utilities
Open File
: 6.5
: All Windows XP
: P4 (vote)
: 6.7
Assigned To:
:
: http://www.stpe.se/wp-content/uploads...
:
:
:
:
  Show dependency treegraph
 
Reported: 2008-12-09 14:52 by
Modified: 2009-02-19 23:18 (History)
Issue Type: DEFECT
:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-12-09 14:52:39
When opening a large file (1 Mb in this case) the NetBeans IDE a warning dialog
is displayed:

"The file <filename> seems to be too large (1 Mb) to safely open.
Opening the file could cause OutOfMemoryError, which would make the IDE
unusable. Do you really want to open it?"

Followed by one button: "OK".

Either the wording of the warning need to change, or a Yes and No button (or
similar) need to be added.

When pressing OK the file is not loaded, so the OutOfMemoryError never occurs.
------- Comment #1 From 2008-12-10 00:08:14 -------
Reassigning to utilities for evaluation.
------- Comment #2 From 2008-12-19 13:44:03 -------
Accepted
------- Comment #3 From 2009-02-03 04:15:22 -------
Yes, I am experiencing this problem as well.

Netbeans also have problem in term of performance (very bad performance) when
editing large file eg: xml file > 10 MB.
I know Netbeans is not an xml editor (but an IDE), because of my familiarty and
preferred IDE, I often use NB to edit
large xml file.
------- Comment #4 From 2009-02-03 04:20:02 -------
Forget to mention

it is tested, the large file performance problem on
- Netbeans IDE 6.5
- Java 1.6.0_11
- Linux Ubuntu 8.04
- 2 GB of memory
- default etc/netbeans.conf file (for memory -Xmx,etc)