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 )
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
Description: | modified (diff) |
---|
comment:2 Changed 6 years ago by
Description: | modified (diff) |
---|---|
Summary: | memleak in addition of string → memleak in addition of strings |
comment:3 Changed 6 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
fixed with 76a7291160a6ba0f7e662bf112de635f35663c1d