Memory Leak
Posted: Thu Jul 29, 2010 11:06 pm
Alex,
I sent a response to the support team but I figured I'd post here as well incase anyone has solved the issue already.
Inside of the following method we are seeing a leak of System.Drawing.Image parameter.
The size of the image leaks and is not disposed of. We created 4,000 barcodes of about 3KB in size using the Vinstasoft.Barcode.BarcodeWriter. Next we are validating the integrity but noticed our service hit 1.2GB in size.
After spent some time debugging, I located the method as the issue. If I return before the call, the service memory stays within 7MB through the lifecycle.
If you would like us to provide a code sample, let us know.
Regards
I sent a response to the support team but I figured I'd post here as well incase anyone has solved the issue already.
Inside of the following method we are seeing a leak of System.Drawing.Image parameter.
Code: Select all
Vintasoft.Barcode.BarcodeReader.ReadBarcodes(System.Drawing.Image);
After spent some time debugging, I located the method as the issue. If I return before the call, the service memory stays within 7MB through the lifecycle.
If you would like us to provide a code sample, let us know.
Regards