Notifications
Clear all

[Closed] Closing Bitmaps


 RenderImage = "C:\Test.jpg"
 qRender.filename = RenderImage
 	Save qRender
 	
 
 
 	Close qRender
 	freeSceneBitmaps()
 

It doesn’t seem like my bitmaps are clearing from the memory, I’ve tried using Close, and freescenebitmaps()

But If i run a query on qRender, it links to a bitmap.

Every time this bit of script runs the memory usage increases, can’t seem to get it to clear.

2 Replies

Have you tried a garbage collection?

gc() or gc light:true

Cheers mate, that appears to have worked.