Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - iOS memory leaks
  FAQ FAQ  Forum Search   Register Register  Login Login

iOS memory leaks

 Post Reply Post Reply
Author
Message
asyle83 View Drop Down
Beginner
Beginner


Joined: 18 Nov 15
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote asyle83 Quote  Post ReplyReply Direct Link To This Post Topic: iOS memory leaks
    Posted: 18 Nov 15 at 4:05PM
Hi,
I have many problems with memory leaks. Each operation with the library allocates memory and never release it.
For large operations the app crashes with "out of memory" error.
I can't find methods to free up the memory (I tried RemoveDocument without success).
The objects allocated are of internal types of the library, for example TPDFName, TPDFdictionary, TPDFArray... and we talk about thousand of allocations.
Are there methods to free up the memory from extern of the library?

Thanks,
Elisa 
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3529
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 23 Nov 15 at 9:10PM
Hi Elisa,

you won't free memory with RemoveDocument.
I don't know how developement with iOS works but the normal library needs only a "Free" to release the instance and this means all allocated memory-sections.

Cheers and welcome here,
Ingo



Edited by Ingo - 23 Nov 15 at 9:12PM
Cheers,
Ingo

Back to Top
asyle83 View Drop Down
Beginner
Beginner


Joined: 18 Nov 15
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote asyle83 Quote  Post ReplyReply Direct Link To This Post Posted: 24 Nov 15 at 7:53AM
Hi Ingo, 
there is no Free method in iOS. This is a Pascal method. 
The support released to me a new beta version that fixes the memory leaks problem.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store