- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I have VS2008 and intel fortran in X64 XP OS. I have run a program which have many allocateable matrix that have size of 2000 X 2000 X 20. During running the application said that I have not enough virtual memory, but I make virtual memory bigger but the problem also exist.
I have 8Gb physical memory but the program do not use it and when the program run page file increases to 2 Gb and hen the program print the error sign.
I would like to know how can I set the visual studio and intel fortran to use just the physical memory or how can I solve the problem.
Thanks.
I have VS2008 and intel fortran in X64 XP OS. I have run a program which have many allocateable matrix that have size of 2000 X 2000 X 20. During running the application said that I have not enough virtual memory, but I make virtual memory bigger but the problem also exist.
I have 8Gb physical memory but the program do not use it and when the program run page file increases to 2 Gb and hen the program print the error sign.
I would like to know how can I set the visual studio and intel fortran to use just the physical memory or how can I solve the problem.
Thanks.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My guess is that you are still building a 32-bit application - this is the default in Visual Studio. Open your project, select Build > Configuration Manager. In the upper right corner is a dropdown box "Active solution platform". Select "
Note that the Solution Platform is now shown as x64 to the right of Debug or Release. Build and run your application.
If you did not see x64 as an option, then you have not installed the Visual Studio x64 support. To do that:
1. From Control Panel > Add or Remove Programs, select Microsoft Visual Studio 2005
(or 2008) > Change/Remove. The Visual Studio Maintenance Mode window will appear.
Click Next.
2. Click Add or Remove Features
3. Under Select features to install, expand Language Tools > Visual C++
4. If the box X64 Compiler and Tools is not checked, check it, then click Update. If the
box is already checked, click Cancel
By the way, you can't tell Fortran to "use the physical memory". Your application runs in virtual memory, and the OS determines how much of that you get, based on the address size (32 or 64 bits), physical memory available and pagefile size. Having 8GB of physical memory is no guarantee of being able to use that much virtual memory, though for a 64-bit application you probably can.

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