how to mumap memory from CoreGraphics?
how to mumap memory from CoreGraphics?
- Subject: how to mumap memory from CoreGraphics?
- From: vipgs99 <email@hidden>
- Date: Wed, 21 May 2014 08:53:35 +0800
I have an app that used a lot CoreGraphics and by using
"UIGraphicsGetCurrentContext()" and "CGContextDrawImage" and etc
CoreGraphics founctions, these functions call mmap() and these use a lot
virtual memory.
The problem is when I receive low memory warning, the memory used
by mmap() in virtual memory will not release automaticly, and I don't
have a way to manually release them. The app crash due to the virtual
memory pressure, my real RAM usage is very low. How can I manually
release the mmap() memory created by CoreGraphics? Thx
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden