2011/1/3 Krzysztof Żelechowski giecrilj@stegny.2a.pl:
Geany should not try to open oversize files it is unable to digest.
<URL: http://is.gd/jZn5B >
The result is infinite thrashing and system unresponsive; the Process Monitor shows geany at 600MB swapped out.
How big is your file and how big is your memory?
Scintilla IIRC uses about 2*memory for buffering, so Geany needs that too.
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.
(The less tool has no problem with displaying this file.)
Less does not buffer the file, it reads line by line and prints it, but you can't do that with an editor.
Cheers Lex
Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany