ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder
ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Memory consumption
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  


United Kingdom
24 Posts

Posted - Jan 11 2021 :  04:58:08  Show Profile  Reply
I am using TImageEnView to batch deskew images. 64 bit.

It works fine most of the time, but I have noticed a problem with certain images (see the attached).

It is obviously a ridiculous file to deskew as it is only 1 pixel wide. However, This is an unmonitored routine and I do not have control over what is submitted to the process.

I am calling the procedure as follows: proc.SkewDetectionFine( 0, 0.1, 10, false) and it is hanging resulting in the necessity to terminate the process.

This is resulting in massive memory leaks for example terminating on one occasion threw up the following leaks all connected with a single Deskew process
3 of 98,304,312 bytes
1 of 313,344,000
1 of 313,339,104

I have changed my code so images that evidently do not require deskew do not get submitted for deskew, but no doubt you would not want the Deskew process to hang in this way.


6040 Posts

Posted - Jan 12 2021 :  17:51:41  Show Profile  Reply
Thanks. We'll have a fix for this in 9.3.0.

Xequte Software
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To: