ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder
ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Memory consumption

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Size 
UserName:
Password:
Mode 
Format  BoldItalicizedUnderline Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailBrowse for an image to attach to your post Browse for a zip to attach to your post Insert CodeInsert QuoteInsert List
   
Message 

 

Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
shackers Posted - Jan 11 2021 : 04:58:08
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.

1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jan 12 2021 : 17:51:41
Thanks. We'll have a fix for this in 9.3.0.

Nigel
Xequte Software
www.imageen.com