or Create a profile
03 Mar, 2015 06:44 AM
What is the best practice for memory management is swapping out
pdf files? For example, i have a reader view controller in a
container in a split view controller. the detail view controller
has a list of documents the user can load similar to your fastPdf
app. How do you swap documents without ballooning the amount of
memory every time?
When I load a new document or leave the tab, i call
[self.pdfReader actionDismiss:nil]; [document emptyCache];
then i create new instances using the factory methods.
I never see a decrease in the amount of memory used. In fact it
continues to climb as i change documents.
Can you recommend a better way to keep the memory usage low?
Formatting help /
(switch to plain text)
(switch to Markdown)
You can attach files up to 10MB
If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.
A conversation has been started with the FastPdfKit staff to resolve this discussion.
This discussion is private.
Only you and FastPdfKit support staff can see and reply to it.
This discussion is public. Everyone can see and reply to it.
You can use Command ⌘ instead of Control ^ on Mac
Powered by Tender™.