SRL Archive - Help

What will happen if my DTMs were not freed?


lolbus

2012-03-06 05:11:17

The following DTMs were not freed: [2]
Will anything bad happen? Dont seems like. I have DTM, stop script without freeing it and so far doesn't appear to have any harm? Why do I need to free it? Just for memory efficiency?

cycrosism

2012-03-06 05:28:29

If you keep calling it and never freeing it, it just keeps getting loaded into the memory again and again

Mark

2012-03-06 05:43:25

like cycrosism said you will cause your system to keep loading the same bit of information causing a memory leak in your script just remember to FreeDTM's and avoid lag or craching of script

lolbus

2012-03-06 08:56:04

Well didn't really solve my doubts.. so for as long as I dont feel any lag for not freeing DTM, even if memory leak are theoretically present, im fine right?

nokkasiili

2012-03-06 09:04:52

From: lolbus
Well didn't really solve my doubts.. so for as long as I dont feel any lag for not freeing DTM, even if memory leak are theoretically present, im fine right?


Depents how often you call function that contains memory leak.
If you want perfect script -> you should fix it.