Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29278 Discussions

Runtime error 41, insufficient virtual memory

David_Rowe
Beginner
1,155 Views
Hello, I have a Windows application which runs continuously on an unattended PC (monitoring an industrial process). Normally its memory use is modest, i.e. a few tens of MB. But very occasionally it halts with the following run-time error: "FORRTL Severe (41) Insufficient Virtual Memory. Stack trace terminated abnormally" On inspection in Task Manager, the VM size for the process at the point of failure is much larger than normal - of the order of 1 or 2 GB. (And I assume that's why the stack trace fails). I've inspected the source code, and as far as I can see, every explicit memory allocation via ALLOCATE has a STAT= clause, and so shouldn't produce the run-time error message. I don't know what external circumstances provoke the error, i.e. I can't reproduce it to order. Any suggestions as to what I should do next to diagnose the problem would be appreciated. I'm using IVF 10.1. Thanks, David
0 Kudos
1 Reply
Steven_L_Intel1
Employee
1,155 Views
The first thing I would suggest is to rebuild with the current 11.1 compiler. You might have a memory corrupter bug in your code somewhere, but this can be hard to find.
0 Kudos
Reply