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!
![]() |
iOS memory leaks |
Post Reply ![]() |
Author | |
asyle83 ![]() Beginner ![]() Joined: 18 Nov 15 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() 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
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
asyle83 ![]() Beginner ![]() Joined: 18 Nov 15 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() |
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. |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store