MCStas
Kristian Nielsen
kristian.nielsen at risoe.dk
Wed Nov 11 14:56:38 CET 1998
> Fatal error: memory exhausted during allocation of size 8000.
>
> Program aborted.
>
>
> The machine I'm using has 32 MB RAM, and I'm wondering if this is enough. I have
> not yet traced the memory handling all that well, I'll admit - and with DOS's
> insistence on stack vs. heap memory use, it is possible that I can fix this by
> playing around with the mem functions. Still, how much memory do you have on your
> machines, and do you have any measurement of how much you need?
Hm, this sounds as if you are compiling in dos mode? In that case you
are probably running up against the 64Kb limitation. I think you will
need to compile McStas for 32 bit.
Anyway, I just got Rene Moeller to help me compile mcstas for Windows
95/NT. This is compiled as a 32bit console application, so there should
be no memory problems.
You can download it from this URL:
http://ELU-ALF-2.risoe.dk/~elu-krni/mcstas/support/misc/mcstas.exe
To use it, you need to set the environment variable MCSTAS to point to
the "lib" subdirectory of the mcstas distribution, eg:
set MCSTAS=C:\mcstas\lib
Let me know if it works so that I can make a proper Windows release of
McStas.
- Kristian.
More information about the mcstas-users
mailing list