I am writing a two-dimensional code for honeycomb structures.

Writing in gfortran.
You can fix the error in the code and run it to create a.exe. If i run it, you will get the following error at the command prompt.

Error message
Operation system error: Not enough space Allocation would exceed memory limit
Applicable source code
Code is nearly 6000 lines

I didn't get a similar error when searching.

Supplemental information (FW/tool version etc.)