码迷,mamicode.com
首页 > 其他好文 > 详细

释放内存

时间:2015-04-21 22:15:50      阅读:136      评论:0      收藏:0      [点我收藏+]

标签:

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.
)

 

释放内存

标签:

原文地址:http://www.cnblogs.com/guilt/p/4445542.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!