[Geany] do not open oversize files

Milan Babuskov milan.babuskov at xxxxx
Tue Jan 4 13:05:36 UTC 2011


On Tue, Jan 4, 2011 at 11:01 AM, Frank Lanitz <frank at frank.uvena.de> wrote:
> 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?

Any file larger than 50MB?

Alternatively, if the file browser would show the file sizes that
would also work. It happens to me sometimes to accidentally open the
wrong file and thus lock up the system.

-- 
Milan Babuskov
http://www.flamerobin.org



More information about the Users mailing list