Comment #8 on issue 713 by
vogel.fr...@gmail.com: Tesseract doesn't release
Hi,
you are right 11.316byte are no issue and other memory leak detection tools
I used are also not finding any real leaks.
Iam using the api of the mach-kernel to mesure the used memory of the
application and this memory is growing over time. I measured the following.
Memory before Initializing:7.10MB
Memory after Initializing:74.82MB
Tesseract Initialized!
Memory after Recognition:76.64MB
Memory after Recognition:76.79MB
Memory after Dealloc:49.83MB
Press Button to continue.
Memory after Initializing:76.72MB
Tesseract Initialized!
Memory after Recognition:76.85MB
Memory after Recognition:76.86MB
Memory after Dealloc:58.86MB
#Code for this is attached.
The more i init and dealloc tesseract the more memory is needed. After
dealIoc I was expecting to have a memory usage of around 7MB, but thats not
the case. Either its there is a complicated memory leak in tesseract which
gets not detected by the tools or the Mach Kernel is doing something i dont
understand.
Attachments:
main.mm 2.9 KB