Out off memory is a very general problem for MATLAB because MATLAB needs to allocate continuous memory blocks for large matrix. There are already many efforts in DIRART to avoid this problem, for example, calculation is carried out in multiple but smaller piece of data instead of the whole large image data.
To get around this problem for you, you can do a few things:
1. Use a 64-bit windows instead of 32-bit one.
2. For 32-bit windows, enable the 3GB option (google search)
3. Buy more RAM for 64-bit windows.
4. Delete unnecessary and very large structures from your CERR plans
5. Crop your images before DIR computation
6. Do some computation outside DIRART if you know how to do so
7. Use LINUX instead windows
For the MS VC++ problem, you should ask questions in the CERR googlegroup.
Please do pay attention to my other general suggestions about memory footprint reduction.
Deshan
I haven't seriously used DIRART with CERR for a while. I need to fix the structure loading problems. In fact, DIRART could manipulate the structures without using the mesh library, even though it won't be as nice.
Please blame Microsoft and MATLAB to mess up the 32-bit and 64-bit configurations.