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 » Thu Aug 26, 2010 5:44 pm

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: 56
Joined: Wed Jul 23, 2008 2:47 pm

Re: SCANNING MULTIPLE DOCUMENTS MEMORY ERROR

Post by Yuri » Fri Aug 27, 2010 8:58 am

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: 1445
Joined: Thu Jul 10, 2008 2:21 pm

Re: SCANNING MULTIPLE DOCUMENTS MEMORY ERROR

Post by Alex » Mon Aug 30, 2010 1:44 pm

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

Who is online

Users browsing this forum: No registered users and 1 guest