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.