Hi all,
I have a problem calculating Patch indices from raster files (in Tiff format) because of the limited memory. I found this answer on the Umass homepage:
Q12. What does the following error mean: "Error: Unexpected error encountered: [bad allocation]. Model execution halted." or "Unexpected error encountered while loading ..."
In FRAGSTATS 4 this error is reported when the enough memory cannot be allocated to either load the grid or complete the processing. This happens when the grid is too large given other factors. The solution is either to increase your memory to >2GB or, if this fails, subdivide the landscape into sub-landscapes.
Becuse i am developing a process for calculating this indices in several areas I am trying to find the best and easiest method and to subdivide the landscapes is quite time consuming.
For this reason I´m looking for the way to increase the memory.
In another forum i found this hint:
FRAGSTATS 4.0 was written in Microsoft Visual C++ for use in the Windows operating environment and is a 32-bit process (even if running on a 64-bit machine). Since FRAGSTATS 4.0 was developed in a Microsoft environment, its portability to other platforms is not easily accomplished. FRAGSTATS 4.0 is a 32-bit software, meaning that normally it can only use a maximum of 2GB of memory. However, if adequately configured, Windows can allow a 32-bit process to use up to 3GB of memory. FRAGSTATS 4.0 loads the input grid (See input file formats) into memory and then computes all requested calculations. Thus, users must have sufficient memory to load the grid and then enough left over for processing and other operating system needs.
Now my question: Has anybody tried to increase the memory and what exactly do i need to do?
Grateful for all your hints!