two bugs

Bert Wesarg bert.wesarg at googlemail.com
Mon Mar 3 16:56:34 CET 2008


On Mon, Mar 3, 2008 at 2:58 PM, AVKuznetsov <kuzn at htsc.mephi.ru> 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


More information about the Develop mailing list