• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
how to mumap memory from CoreGraphics?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: how to mumap memory from CoreGraphics?
      • From: David Duncan <email@hidden>
  • Prev by Date: Re: kCGStatusWindowLevel
  • Next by Date: Re: how to mumap memory from CoreGraphics?
  • Previous by thread: Re: Core Data migration and non-optional transient relationships
  • Next by thread: Re: how to mumap memory from CoreGraphics?
  • Index(es):
    • Date
    • Thread