Essentially, under w7, opening a file using the file-open browser (both "XP-style" and "New-style") prevents malloc from working 100%. A malloc call, (via a Fortran "ALLOCATE" call) which has been called repeatedly successfully, eventually fails,
but only if the file-open dialogue has been used. It works OK under XP-32, and works OK if I hard code the filename to be read, but fails under W7-64 and W7-32. There is plenty of memory available.
Using ProcessExplorer, I can see that, when it runs successfully, total memory usage (Peak Private Bytes) is at about 980Mb. If I use the file dialogue, the program fails at around 750Mb.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.