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.
Reassigning to utilities for evaluation.
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.
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)
The single OK button is still there in NetBeans 7.0.
There are two buttons in the current build, and opening a file can be cancelled now.