On Mon, Mar 3, 2008 at 2:58 PM, AVKuznetsov <[EMAIL PROTECTED]> wrote: > b) Creation of long lists completely hangs the system. The > cause for the hanging is described as follows. > > In the following simple > string = "" > for(i=0; i<N ; i++) > string = string "\n" i > > each iteration eats memory since new string is created. > On my system (1.2G memory + 800M swap) a top limit of iterations > is 19800 and string of length of 107K is created. Both memory and > swap are full and AND THEY ARE NOT FREED WHEN MACRO IS COMPLETED! > Simple estimation shows that the memory occupation corresponds to > number of created interim strings. > One thing that NEdit could and should, is to warn the user, if an arbitrary memory consumption limit is reached.
Bert -- NEdit Develop mailing list - [email protected] http://www.nedit.org/mailman/listinfo/develop
