logoalt Hacker News

thomblesyesterday at 9:09 PM1 replyview on HN

Be cautious if you're using large databases on iOS. At least until fairly recently, iOS doesn't page dirty mmaped pages back to disk and after enough churn the app will OOM.


Replies

zbentleyyesterday at 10:55 PM

Wow, really?

Then what’s the point of memory mapping in the fist place? Or do they suggest manual flush/sync actions for persistence.

show 1 reply