DotImage Knowledgebase

Home : Exceptions/Errors : PixelMemoryException: Failed to Allocate Pixel Memory
Q10258 - INFO: PixelMemoryException: Failed to Allocate Pixel Memory

DotImage requires that there be contiguous open memory for an AtalaImage’s pixel memory. When this condition cannot be met an error with the following text will occur:

PixelMemoryException was unhandled

Failed to allocate <int> of pixel memory

 

This can happen in a number of situations if you think that you fall into one of these situations please follow the links for potential solutions:

-Opening many AtalaImages and storing them in physical memory (or a ImageCollection)

http://www.atalasoft.com/KB/article.aspx?id=10257

-Opening a particularly large single image and doing processing (ImageCommand.InPlaceProcessing == false) that requires having the image in memory more than once.

http://www.atalasoft.com/KB/article.aspx?id=10256

-Trying to open an image with not enough memory. It has to be contiguous, so it is also possible that there is enough memory but the memory is “fragmented”, or very spread out such that there isn’t enough room to fit an image.

Memory Defragmenters are available online and will provide variable results.

Related Articles
No Related Articles Available.

Article Attachments
No Attachments Available.

Related External Links
No Related Links Available.
Help us improve this article...
What did you think of this article?

poor 
1
2
3
4
5
6
7
8
9
10

 excellent
Tell us why you rated the content this way. (optional)
 
Approved Comments...
No user comments available for this article.

Powered By InstantKB.NET v1.3
Copyright © 2002, 2014. InstantASP Ltd. All Rights Reserved

preload preload preload