- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I was wondering if anyone has had success solving a problem like this in the past.
I've created an executable with Lahey-Fujitsu Fortran 95 v5.5 that requires 666MB of image space to run. This is well below the 1.75GB static code limit of my system (my OS is Windows 2000, v5.0, SP4). However whenever I run the executable I receive the error message "not a valid Win32 application". This is even true after I add the /3GB switch to my boot.ini file to increase the virtual address space to 3GB from 2GB. Is it just that I don't have enough memory because I have a 32 bit system, or am I actually creating a corrupt executable?
Rasheeda Byer-Coward
I was wondering if anyone has had success solving a problem like this in the past.
I've created an executable with Lahey-Fujitsu Fortran 95 v5.5 that requires 666MB of image space to run. This is well below the 1.75GB static code limit of my system (my OS is Windows 2000, v5.0, SP4). However whenever I run the executable I receive the error message "not a valid Win32 application". This is even true after I add the /3GB switch to my boot.ini file to increase the virtual address space to 3GB from 2GB. Is it just that I don't have enough memory because I have a 32 bit system, or am I actually creating a corrupt executable?
Rasheeda Byer-Coward
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Rasheeda,
Welcome to the Intel Fortran user forum. I'm not sure how much help we can be with your Lahey-Fujitsu compiler problem, but we can try.
In general, you won't get the "not a valid Win32 application" message simply because the application needs too much memory. That IS a symptom of a corrupted EXE, however. Certainly, 666MB is well within the normal limits. Are you SURE that's the amount of space it needs? How did you determine that?
Welcome to the Intel Fortran user forum. I'm not sure how much help we can be with your Lahey-Fujitsu compiler problem, but we can try.
In general, you won't get the "not a valid Win32 application" message simply because the application needs too much memory. That IS a symptom of a corrupted EXE, however. Certainly, 666MB is well within the normal limits. Are you SURE that's the amount of space it needs? How did you determine that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorrr, I was not using the Lahey compiler. I was usng CVF verson 6.6C. The 666 MB of image size was the value returned to me from the compiler. I got the LNK4084 error message. The actual size of the executable is only 951KB.
And I was recently told that the /3GB switch does nothing for virtual address space on the Windows2000 OS.
And I was recently told that the /3GB switch does nothing for virtual address space on the Windows2000 OS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CVF should also have no problems with this. Does the error go away if you reduce the size of the data?

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