# Need help

**URL:** <https://forums.developer.nvidia.com/t/need-help/136524>\
**Category:** Legacy PGI Compilers (archived)\
**Created:** [June 15, 2020, 7:13am UTC](https://forums.developer.nvidia.com/t/need-help/136524 "2020-06-15T07:13:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LeonardRenner](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@LeonardRenner](https://forums.developer.nvidia.com/u/LeonardRenner)\
**Post date:** [June 15, 2020, 7:13am UTC](https://forums.developer.nvidia.com/t/need-help/136524/1 "2020-06-15T07:13:05Z")

</div>

I want to allocate a big matrix in my Fortran code running on Windows system.  
The matrix is 7812500 by 400 with data type integer(4).

I am getting segmentation fault because the matrix is too large.

On linux machines, the issue was fixed by adding -mcmodem=medium and -Mlarge\_arrays.

Are there options for windows systems to fix this large array issue?

Regards

---

<div class="post-metadata">

**Author:** ![MatColgrove](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/matcolgrove/32/14047_2.png) [@MatColgrove](https://forums.developer.nvidia.com/u/MatColgrove)\
**Post date:** [June 15, 2020, 2:49pm UTC](https://forums.developer.nvidia.com/t/need-help/136524/2 "2020-06-15T14:49:44Z")

</div>

Hi LeonardRenner,

While Windows doesn’t support the Medium Memory Model, large array support (-Mlarge\_arrays) is supported. Give it a try and see if it helps this program.

-Mat
