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.
Summary: | Remove limits that are too low or provide configuration. | ||
---|---|---|---|
Product: | platform | Reporter: | emiddio <emiddio> |
Component: | Text | Assignee: | Miloslav Metelka <mmetelka> |
Status: | NEW --- | ||
Severity: | normal | CC: | issues |
Priority: | P4 | ||
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | Windows 7 x64 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | shows navigator refusing to navigate |
Description
emiddio
2013-01-03 22:20:33 UTC
Created attachment 129867 [details]
shows navigator refusing to navigate
i have 12GByte of ram - don't limit file sizes.
This limitation applies to opening files in general using DataEditorSupport from platform. The navigator currently just displays the message of the UserQuestionException. I would consider marking the issue as an enhancement. The issue is DataEditorSupport which is in org.openide.text package (but in openide.loaders module). Anyway this is directly associated with editor, so it is more appropriate for editor guys to deal with the issue. At the end the check in DataEditorSupport is there to shield editor infrastructure from problems. Currently there is hardcoded if (!warnedFiles.contains(fo) && fo.getSize () > 1024 * 1024) check. I can change it to read a property or increase it. However, as bug 223237 shows, sometimes 1MB is still considered too big. |