[zz]LINK : fatal error LNK1248: image size exceeds maximum allowable size (80000000)
标签:
visualfortranarraysize杂谈 |
分类: HighPerformanceComputation |
Comments: For my case, the array defined is just too big. Imagine how big a 15^6 array is!!! http://engine.adzerk.net/v/v.gif?i=eyJVc2VyIjpudWxsLCJDYXRlZ29yaWVzIjpbXSwiQ3JlYXRlZE9uIjoiXC9EYXRlKDEzNDYyOTc1ODgzMTApXC8iLCJJZCI6IjE3YmU4NGNjLTRiMmMtNDRmYy1hYmExLWNlNDJlYjFhN2I3YSIsIlJlbW90ZUlQIjpudWxsLCJVc2VyQWdlbnQiOm51bGwsIlJlZmVycmVyVXJsIjpudWxsLCJVcmwiOm51bGwsIkNyZWF0aXZlSWQiOjU5MjAsIlJTU0tleSI6bnVsbCwiQWRUeXBlSWQiOjQsIlNpdGVJZCI6ODI3NywiQ2hhbm5lbElkIjoxMTc4LCJQcmlvcml0eUlkIjoxNTY4LCJOZXR3b3JrSWQiOjIyLCJab25lSWQiOjQzLCJMb2NhdGlvbiI6bnVsbCwiQ2FtcGFpZ25JZCI6ODQ3LCJQYXNzSWQiOjI0NDQsIkJyYW5kSWQiOjQxNCwiRmlyc3RDaGFubmVsSWQiOjExNzgsIkltcHJlc3Npb25Db3VudCI6MSwiVXNlcktleSI6bnVsbCwiS2V5d29yZHMiOiJjKyssdmlzdWFsLXN0dWRpby0yMDEwLG1lbW9yeS1tYW5hZ2VtZW50LG91dG9mbWVtb3J5ZXhjZXB0aW9uIiwiRGVsaXZlcnlNb2RlIjoxLCJSZXZlbnVlIjowLCJJc1RyYWNraW5nQ29va2llRXZlbnRzIjpmYWxzZSwiUGhhbnRvbVBhc3NJZCI6MCwiUGhhbnRvbUNyZWF0aXZlUGFzc0lkIjowLCJDcmVhdGl2ZVBhc3NJZCI6ODgwNiwiSXNWYWxpZFVBIjpmYWxzZSwiSXNOb1RyYWNrIjpmYWxzZSwiTWF0Y2hpbmdLZXl3b3JkcyI6bnVsbH01:
|
I am doing some extremely large array processing. I do a global declaration of:
When I build my solution in MS Visual Studio 2010, I get the following error
Now, I am aware this amounts to about 1 GB of program memory.
But this declaration worked for a declaration of I do not wish to do a Any pointers would be greatly appreciated. Thanks.
|
|||||||||||
feedback
|
|
It appears that even when you're building an x64 executable, the linker has limits more appropriate for an x86 build. Not much you can do about that. The only solution is to allocate it from the heap. This should be usable in the same way as your original declaration.
|
|||||||||||
feedback
|
|
If you are
Or you could consider using
|

加载中…