Opened 6 years ago

Closed 6 years ago

#780 closed bug (fixed)

memleak in addition of strings

Reported by: ren Owned by: somebody
Priority: major Milestone: 4-1-0 and higher
Component: dontKnow Version: 4-0-3
Keywords: Cc:

Description (last modified by ren)

Example:

string ab;
for (int i=0; i<10000; i++)
{
  ab = "a"+"b";  // note: the memleak still exists without the assignment
  memory(0);
}

This became very noticeable in a GIT-Fan computation, when we manipulated strings to write intermediate results to a file (which we ironically only did to keep the RAM usage low).

Change History (3)

comment:1 Changed 6 years ago by ren

Description: modified (diff)

comment:2 Changed 6 years ago by ren

Description: modified (diff)
Summary: memleak in addition of stringmemleak in addition of strings

comment:3 Changed 6 years ago by hannes

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.