Ticket UUID: | 1762825 | |||
Title: | Missing release/reuse of memory after 'package forget' | |||
Type: | Bug | Version: | obsolete: 8.4.14 | |
Submitter: | alsterg | Created on: | 2007-07-28 17:35:51 | |
Subsystem: | 41. Memory Allocation | Assigned To: | dgp | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2007-07-29 01:59:49 | |
Resolution: | None | Closed By: | alsterg | |
Closed on: | 2007-07-28 18:59:49 | |||
Description: |
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. | |||
User Comments: |
alsterg added on 2007-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. alsterg added on 2007-07-29 00:35:51: File Added - 238933: poc.tar |
Attachments:
- poc.tar [download] added by alsterg on 2007-07-29 00:35:51. [details]