Memory Leak with 1D barcode scanning

Discussions about 1D barcode reading and writing
Post Reply
Posts: 1
Joined: Thu Feb 23, 2012 11:53 am

Memory Leak with 1D barcode scanning

Post by alpha1 » Thu Feb 23, 2012 12:06 pm


Is there any known issue here about memory leaks on reading 1D barcodes using GDPicture? We are using the latest release.
We have experienced growing unmanaged memory everytime we do a scan with the documents. We did some memory profiling and it shows some heap allocations during barcode reading that were not released causing the memory to grow everytime an image is scanned.
We used the clean up functions provided by GDPicture like Barcode1DReaderClear(), ClearGdPicture(), and ReleaseGdPictureImage() but the memory is still growing each time a image is scanned.


User avatar
Site Admin
Posts: 5673
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Memory Leak with 1D barcode scanning

Post by Loïc » Thu Feb 23, 2012 12:29 pm


We have no known memoryleak with the scanner of the latest release. We also use memory profiler to identify such potential issue.

What you can do is to create a ticket in the helpdesk system, attach an application reproducing the issue and the some image you used during your tests.

Kind regards,


Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests