Hi, It is only a warning that the file maybe is too big. There are lots of configuration possibilities available for experiences users.
Maybe a central page in the wiki which collects all the settings/properties would be fine. Is there such a collection somewhere? Where can it place in the apache netbeans site? Oliver I think the software program sucks if the software did not advise user in the error message to adjust the parameter. J-Dorg.openide.text.big.file.size=10. On Mon, 21 Dec 2020, 08:34 Oliver Rettig, <oliver.ret...@orat.de[1]> wrote: Hi all, Neil is completely right - thanks for the hint. The warning is opened if a configurable maximum file size is reached. The default value for this is 1MB and can be increased by by adding system property, e.g. -J-Dorg.openide.text.big.file.size=10 I will think about to use this mechanism also for my scientific netbeans platform applications, if i open data files to be plotted. best regards Oliver > On Sun, 20 Dec 2020 at 16:25, Oliver Rettig <_Oliver.Rettig@orat.de_> wrote: > > I remember also got such messages in the past during opening big text > > files in my netbeans-platform applications and with increasing heap-size > > I cauld not get rid of the message. In my cases after closing the dialog > > all works fine. So I dont have a closer look at this. Maybe there is > > simple somewhere hardcoded a maximum file size and after reaching this > > size the dialog is thrown. > > > > I am also interested in, if you can fix this. > > It's probably this? > https://github.com/apache/netbeans/blob/master/platform/openide.loaders/src/[2] > org/openide/text/DataEditorSupport.java#L853 > > Should be able to set that system properly to a MB value greater than > 1 by the look of it. > > Best wishes, > > Neil > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org[3] > For additional commands, e-mail: users-h...@netbeans.apache.org[4] > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists[5]