![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Dynamic Skips & Memory Topic Summary: Embedding Skips, and When to Delete Created On: 10-Apr-2007 14:59 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
The issue of memory has been discussed already in these forums, and we all know it's importatnt to clean-up - especially where DOORS doesn't. |
|
![]() |
|
![]() |
|
It is cleared I believe once it goes out of scope but the memory is not released until the end of the script unless you delete it. DXL has no garbage collection.
Why are you using a skip list to store each character? Just use the string as the key and the data object in the main skip.
Change to this.
------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com Edited: 10-Apr-2007 at 15:31 by David Pechacek |
|
![]() |
|
![]() |
|
Not sure where the memory is eventually cleared up.
So the first loop creates a skip and puts it inside a master skip. The 2nd loop looks through all the sub-skips of the master skip. Looks to me that either you should delete skpUser after your for s in skpUser loop, or have a 3rd loop that gets all the sub-skips and deletes them, before deleting the master. - Louie |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Dynamic Skips & Memory
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.