- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a 64 bit program using allocatable memory to store large arrays. The execution halts, when memory loading reach 4 GB. The executable itself is 8 MB. I am using VS 2022 v17.14.24 and Intel Fortran Compiler 2025.3. Any recommendation to resolve this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A colleague ran into a problem that reminds me of the symptoms you describe. Apparently he had to change the paging settings on his Windows system to solve it. How he did that, he did not mention, but the all-knowing Internet helped out. In his case: an initial setting of 40 GB and a maximum of 80 GB did the trick.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I seen this suggestion on the web and set the virtual memory to 60 GB and now to 80 GB, but the problem persists.
The system has 32Gb RAM, Win 11 Pro. At the point, when the code halts, the total memory load is only 60%.
The code was built Release & x64 configuration. It uses MKL library (Sequential (/Qmkl:sequential) nd a few libraries: mkl_blas95_lp64.lib mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib. I believe all are 64 bit ones.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you up to date with the latest VS and ONEAPI, the 2025 IFX is getting better each time.
You may have to wait until S Lionel is awake as we are behind EU time and it is only 7:20 in Chicago.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jim Dempsey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have nothing to contribute here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Win 11 system, Visual Studio 2022 and OneApi with the Fortran compiler all up to date. I wrote a very simple program to allocate a 50000 by 50000 real*8 array. It can be allocated and values set. the memory load of the program 19 GB.
It indicates the system is OK and I have to look other possible source of the problem.
Many thanks for the comments.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page