Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29393 Discussions

Allocation Error, Still have memory: Why?

john3
Beginner
600 Views

Under IVF 9.1, Win XP, PC with 2 GB hard memory, 3 GB VM.

When my codeis using about 1.65 GB (shown by task mgr for this process), I get an allocation error 41 when trying to allocate an array which should easily still fit in under the 2 GB limit.

Any ideas as why this happens and what can be done to fix problem.

Thanks.

0 Kudos
1 Reply
Steven_L_Intel1
Employee
600 Views
If the memory allocator says insufficient memory, there's not much that can be done except move to a 64-bit system. I'm not sure that the task manager's view of process memory tells the whole story, and you don't get ALL of that 2GB - some is taken up with OS code and data structures. I generally find that 1.75GB is a practical limit.
0 Kudos
Reply