|
2007-07-29
| ||
| 01:59 | • Closed ticket [1762825fff]: Missing release/reuse of memory after 'package f... artifact: ca33c562bc user: alsterg | |
| 00:55 | • Ticket [1762825fff]: 1 change artifact: 20d1372203 user: msofer | |
| 00:35 | • Ticket [1762825fff]: 4 changes artifact: 763a5355ec user: alsterg | |
| 00:35 | • Add attachment poc.tar to ticket [1762825fff] artifact: 149914d706 user: alsterg | |
|
2007-07-28
| ||
| 17:35 | • New ticket [1762825fff] Missing release/reuse of memory after 'package forge... artifact: bb52585a16 user: alsterg | |
Missing release/reuse of memory after 'package forget'
Closed1762825fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2007-07-28 17:35:51
After forgetting a package "package forget" the reserved memory neither seems to be freed, not to be reused by a subsequent different package. In all cases I'm using the same package code copied and renamed accordingly, hence it should have the same memory requirements. In contiguous loading/unloading of the same package the memory is reused as expected, but with different packages this is not the case, as it seems that new memory is reserved and the previous is not resused by the new package. test4.tcl: loading/unloading test5.tcl: only loading In both cases the final occupied memory is of same amount. I haven't tested 8.4.15.
alstergplain2007-07-29 00:35:51
File Added - 238933: poc.tar
msofer Ticket [1762825fff]: 1 change
[History diff]2007-07-29 00:55:08
alstergplain2007-07-29 01:59:49
Logged In: YES user_id=718576 Originator: YES package forget does not do that actually. it removes info about the package. other constructs declared in the package and loaded into memory remain there.
Log in (anonymous is fine) to add a comment.
Attachments:
- poc.tar [download] added by alsterg on 2007-07-29 00:35:51. [details]