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> 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.ret...@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/
>
> > 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
>
> > For additional commands, e-mail: users-h...@netbeans.apache.org
>
> >
>
> > For further information about the NetBeans mailing lists, visit:
>
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>
>

Reply via email to