P1ng
2012-08-13 02:56:31
What is the best way to call DTMs, all at the beginning and free them all upon termination or load as local integers and free at the end of the procedure?
As a follow up to this question is there any way to get the DTMs not freed to return as a name rather than an array of integers?
i.e.
This
Having some troubles working out where this memory leak is coming from, I've tried both ways of calling and freeing the DTMs but I still get a memory build up if I run the script for a long time. Fairly certain I'm freeing all DTMs that are being called.
As a follow up to this question is there any way to get the DTMs not freed to return as a name rather than an array of integers?
i.e.
This
The following DTMs were not freed: [StrangeRock, Ore, StrangeRock, Ore]instead of this - The following DTMs were not freed: [3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23]Having some troubles working out where this memory leak is coming from, I've tried both ways of calling and freeing the DTMs but I still get a memory build up if I run the script for a long time. Fairly certain I'm freeing all DTMs that are being called.