MrAlek / PagedArray

A Swift data structure for easier pagination

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do we deal with memory warning issues when memory runs out because of setting so many new elements into the array?

rlam3 opened this issue · comments

commented

How do we deal with memory warning issues when memory runs out because of setting so many new elements into the array?

I'd say if you get memory warnings, remove any cached pages that aren't currently visible on screen.