释放内存
MAX运行大批量循环的时候容易出现内存爆掉的情况,所以需要注意在循环里加入释放内容的函数.
fn ReleaseMemory = ---------释放内存
(
GC()
freesceneBitmaps() --释放位图碎片 -- Frees up all the memory used by the image file bitmap caches. This is useful if memory is fragmented with a lot of different bitmaps and you want to have just the ones currently active reloaded.
)
posted on 2015-04-21 21:22 鸟血惹人怜鱼伤无人知 阅读(196) 评论(0) 编辑 收藏 举报