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

Submit New Article

Last Modified On :   October 19, 2009 6:14 PM PDT
Rate
 


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.




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