SRL Archive - OSR Help

How to read the "DTM-s not freed" info?


l6bustank

2012-11-16 13:57:20

I have this in my debug after terminating a script:

The following DTMs were not freed: [2, 3]

There are several DTM-s in my script. Does this mean that 2 of them were not freed (correctly)? And what do the 2 and 3 mean. Could they be 2nd and 3rd DTM from the top? Or does it mean sth else?

Le Jingle

2012-11-16 14:00:38

Where you declare your DTM's, you can add this line after assigning a DTM to an integer variable by calling,
SetDTMName(dtm, 'Name of DTM here');
This way you can debunk which DTM's are not being freed visa-via named DTM's instead of [2,3].

Lalaji

2012-11-16 14:36:20

Nice thread. I also did not know that,

From: Le Jingle
Where you declare your DTM's, you can add this line after assigning a DTM to an integer variable by calling,
SetDTMName(dtm, 'Name of DTM here');
This way you can debunk which DTM's are not being freed visa-via named DTM's instead of [2,3].


so, if I add that after loading a DTM, will the debug say:
"the following DTM was not freed: Name of DTM here"

Thanks.

Le Jingle

2012-11-16 14:46:43

From: Lalaji
Nice thread. I also did not know that,



so, if I add that after loading a DTM, will the debug say:
"the following DTM was not freed: Name of DTM here"

Thanks.


Correct.

The Killer

2012-11-16 15:01:54

I was getting this on one of my scripts (where dtm names are numbers) even though I didn't have any dtms under them names.
Kasi told me it was just simba being a douche and that there was no problem if your simba process doesn't increase over time.

l6bustank

2012-11-16 15:11:01

Well, I got it working now, freed them in a slightly different place, thx guys!