Diagnostic 5656: Variable xxxx too large for NTCOFF. Bigger than 2GB. Use heap instead

Submit New Article

August 27, 2009 1:00 AM PDT


This error message is caused by a limitation of the COFF object file format that Microsoft uses.
The COMMON areas are allocated in static memory which has a 2 GB limit. The error message advises
moving the data to heap. To do this, make your arrays allocatable. To make the data globally
accessible like a COMMON area, the data should be defined in modules.


Do you need more help?


This article applies to: Intel® Fortran Compiler for Linux* Knowledge Base,   Intel® Fortran Compiler for Mac OS X* Knowledge Base,   Intel® Visual Fortran Compiler for Windows* Knowledge Base