[ nedit-Bugs-1906837 ] long list creation
SourceForge.net
noreply at sourceforge.net
Tue Mar 4 10:24:06 CET 2008
Bugs item #1906837, was opened at 2008-03-04 01:24
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1906837&group_id=11005
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: long list creation
Initial Comment:
Hi
Creation of long strings can completely hang the system. The cause for the hanging is described as follows.
In the following simple macro
string = ""
for(i=0; i<N ; i++)
string = string "\n" i
each iteration eats memory since new string is created
and old one is also kept in memory.
When all memory is occupied a system completely hangs.
When fast-access memory (non-swap) is fully occupied,
work is strongly slowed-down, CPU usage drops to 1-10%.
Memory is not freed when macro is completed, as a result, the system goes in a "somnambular state". X-server restarting does not help in this case.
This bug is independent of NEdit's version.
Alexey Kuznetsov
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1906837&group_id=11005
More information about the Develop
mailing list