PC Review


Reply
Thread Tools Rate Thread

Vuescan Memory Allocation error

 
 
Bruceh
Guest
Posts: n/a
 
      27th Jan 2004
I'm getting the error:

"Unable to allocate XXX MBytes of memory.
Try increasing the amount of virtual memory."

I'm using Windows 2000 Pro and increased Virtual memory
without any success.

Could there be a problem with Vuescan?

 
Reply With Quote
 
 
 
 
degrub
Guest
Posts: n/a
 
      27th Jan 2004
How much real memory are you working with ? You really don't want to be
using virtual memory (ie swapping to disk). WHat size Mb images are you
working with ?

Frank

Bruceh wrote:
> I'm getting the error:
>
> "Unable to allocate XXX MBytes of memory.
> Try increasing the amount of virtual memory."
>
> I'm using Windows 2000 Pro and increased Virtual memory
> without any success.
>
> Could there be a problem with Vuescan?
>


 
Reply With Quote
 
Bruceh
Guest
Posts: n/a
 
      27th Jan 2004
I'm maxed out with 512MB ram. I know that I'll be swapping in these
large scan situations, but I can live with it. The images are *big*.

bruce

degrub wrote:

> How much real memory are you working with ? You really don't want to be
> using virtual memory (ie swapping to disk). WHat size Mb images are you
> working with ?
>
> Frank
>
> Bruceh wrote:
> > I'm getting the error:
> >
> > "Unable to allocate XXX MBytes of memory.
> > Try increasing the amount of virtual memory."
> >
> > I'm using Windows 2000 Pro and increased Virtual memory
> > without any success.
> >
> > Could there be a problem with Vuescan?
> >


 
Reply With Quote
 
Bart van der Wolf
Guest
Posts: n/a
 
      27th Jan 2004

"Bruceh" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I'm maxed out with 512MB ram. I know that I'll be swapping in these
> large scan situations, but I can live with it. The images are *big*.


How big? Are you scanning full res, full size on a flatbed scanner? That'll
be BIG! The operating system needs to have enough of a predefined virtual
diskspace to cope with that. You can see the resulting filesize in the
VueScan statusbar.

Bart


 
Reply With Quote
 
Kurt Stege
Guest
Posts: n/a
 
      29th Jan 2004
Bruceh <(E-Mail Removed)> wrote:

>I'm getting the error:
>
>"Unable to allocate XXX MBytes of memory.
> Try increasing the amount of virtual memory."
>
>I'm using Windows 2000 Pro and increased Virtual memory
>without any success.
>
>Could there be a problem with Vuescan?


Yes and no. I have seen the same problem on my computer.
This happens, when the size of the processed images
increases. (In my case, it happened while batch processing
a bunch of already scanned raw files from disk.)

I guess, it is a problem of memory fragmentation, of
fragmentation of virtual memory! Windows only support
2 GB of virtual memory for each process. That is a built
in constant you can't change. (The CPU using 32-bit-addresses
has an address range of 4 GB, but Windows uses the other
2 GB for system memory shared between severall/all processes.)

When allocating (and freeing) really huge memory blocks,
we are talking here about a half giga byte or more for
one raw image (and maybe a second memory block for a
processed copy), vuescan will get problems with the
fragmentation of the address space (as said, only 2 giga bytes).

Workaround: Restart vuescan. The new process beginns with an
fresh unfragmented memory.


By the way, the message from Windows is not quite correct.
You can't increase the size of virtual memory. That is fixed
at two giga bytes per process. You can increase the size
of physical available memory (physical ram and space in swap
file). But that will not help in this case...

Regards,
Kurt.
 
Reply With Quote
 
Bruceh
Guest
Posts: n/a
 
      29th Jan 2004
> Yes and no. I have seen the same problem on my computer.
> This happens, when the size of the processed images
> increases. (In my case, it happened while batch processing
> a bunch of already scanned raw files from disk.)
>
> I guess, it is a problem of memory fragmentation, of
> fragmentation of virtual memory! Windows only support
> 2 GB of virtual memory for each process. That is a built
> in constant you can't change. (The CPU using 32-bit-addresses
> has an address range of 4 GB, but Windows uses the other
> 2 GB for system memory shared between severall/all processes.)
>
> When allocating (and freeing) really huge memory blocks,
> we are talking here about a half giga byte or more for
> one raw image (and maybe a second memory block for a
> processed copy), vuescan will get problems with the
> fragmentation of the address space (as said, only 2 giga bytes).
>
> Workaround: Restart vuescan. The new process beginns with an
> fresh unfragmented memory.
>
> By the way, the message from Windows is not quite correct.
> You can't increase the size of virtual memory. That is fixed
> at two giga bytes per process. You can increase the size
> of physical available memory (physical ram and space in swap
> file). But that will not help in this case...


Thanks for the explanation Kurt!

bruceh

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Memory allocation error old jon DIY PC 1 25th Feb 2006 04:37 PM
Memory allocation error nthdegree@hotmail.com Microsoft Access 1 9th Jul 2004 06:52 PM
Memory Allocation Error Derrick King Microsoft Windows 2000 1 29th Dec 2003 04:15 PM
Memory Allocation Error Christopher Windows XP General 2 1st Dec 2003 11:53 PM
ODBC Error Code = S1001 (Memory allocation error) Joe M Microsoft Access Queries 1 5th Sep 2003 03:14 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:47 PM.