Hi all,
I am running the Intel® Fortran Composer XE for OS X vs. 14.0.4 on a Mac OSX 10.11.5. with i7 and 16 GB RAM.
I am allocating arrays dynamically and everything works fine when the program needs less than about 1GB
RAM (checked with activity monitor). However, as soon as get over 1 GB I get the error message
a.out(16358,0xa4442000) malloc: *** mach_vm_map(size=2128674816) failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
forrtl: severe (41): insufficient virtual memory
although almost 10 GB RAM should be available.
I compile in command line mode with no extra flags apart from different optimization levels (no difference here).
Can someone please help me ?
Thank you!