[Geany] do not open oversize files
Frank Lanitz
frank at xxxxx
Tue Jan 4 10:01:44 UTC 2011
Am 04.01.2011 09:56, schrieb Milan Babuskov:
> On 1/4/11, Lex Trotman <elextr at gmail.com> wrote:
>> Unfortunately there is no way of knowing how much memory is available,
>> the requests for such information just return infinite (at least on my
>> system) so there is no way for Geany/Scintilla to limit the usage.
> Maybe if Geany would give a warning like:
>
> "You're trying to open a huge file (600MB), which may cause your
> system to work slow. Are you sure?"
Well, where to set such a point? E.g. if you have an XML-file the lexxer
is needing much more memory than a C or a key-value-file would need.
Also is this depending on user's system.
Cheers,
Frank
More information about the Users
mailing list