- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using the Intel Fortran Compiler on a Windows xp Edition x64 SP2 (processor at 2.83 GHz and with 16 GB of RAM). I'm compiling the code using the x64 option.
I'm tried to allocate up to 8 GB of memory using stack reserve size. I'm not able to allocate more than 2 GB as whenever the total dimension of the common block is greater than about 16 GB, I get the message "program exception-stack overflow".
Any suggestion? Thank you.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2GB is the absolute max for stacksize - this is a Windows limitation. Try building with /heap-arrays to cause array temps to be allocated dynamically. You may also want to see if you can figure out how to avoid having stack temps created in the first place - in some cases you may not be able to that.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page