SCANNING MULTIPLE DOCUMENTS MEMORY ERROR

Questions, comments and suggestions concerning VintaSoft Twain .NET SDK.

Moderator: Alex

Post Reply
amejiae
Posts: 3
Joined: Thu Aug 26, 2010 12:37 pm

SCANNING MULTIPLE DOCUMENTS MEMORY ERROR

Post by amejiae »

Hi
I can scan multiple pages from the feeder. However if I scan more than 9 pages, I get a "out of memory" exception when executing AcquireModal().

I am using version 6.
Is there any limitation on the buffer? does that depends on a buffersize I can change somehow? or is there any documentation about it? is the memory performance better in v7?

Any help can be useful.
Thanks in advance.
Alejandro
Yuri
Posts: 64
Joined: Wed Jul 23, 2008 2:47 pm

Re: SCANNING MULTIPLE DOCUMENTS MEMORY ERROR

Post by Yuri »

There was MaxImages Property in v6 that determines the maximum number of images in the internal images buffer.
So you can avoid memory overflow.

In v7 you should use Capacity and AutoClean Properties for that purpose. Simply read the documentation provided.
Memory usage in V7 is more better optimized.

Regards
Alex
Site Admin
Posts: 2303
Joined: Thu Jul 10, 2008 2:21 pm

Re: SCANNING MULTIPLE DOCUMENTS MEMORY ERROR

Post by Alex »

Hello Alejandro,

Please send me a snippet of your code and log-file generated by SDK. Acquired images are stored in the Device.AcquiredImages collection - make sure that you have enough memory for your images.

Best regards, Alexander
Post Reply