how to mumap memory from CoreGraphics?

2014-05-20 Thread vipgs99
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

Re: how to mumap memory from CoreGraphics?

2014-05-20 Thread David Duncan
On May 20, 2014, at 5:53 PM, vipgs99 vipg...@gmail.com wrote: 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