Thanks Thomas,
I ran a simple profile on the turntable script using Octane version 2.01 and these are the results in Kilobytes. All I did was put
- Code: Select all
print(collectgarbage("count"))
in the code at various places.
- Code: Select all
220.361328125 <- start of the script
281.533203125 <- start of animation preview
312.0107421875 <- cancel of preview
217.806640625 <- start of animation preview again, looks like the garbage collector ran
318.2080078125 <- cancel of preview
348.650390625 <- another animation preview
307.3134765625 <- cancel and maybe another garbage collection
This isn't probably a real good method to do the profile, but it at least give us an idea on what's happening as the script runs.
So, at the most, the memory usage rose up to 348 KBytes of memory but the garbage collector appears to be working as it should.