Tuesday, June 12, 2012 3:09 PMEssentially, 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.
Tuesday, June 12, 2012 6:10 PM
Your porblem apperas to be program development related. You should find the appropriate forum on the Micrsoft Developer Network @ http://msdn.microsoft.com/en-US/ since this is a users' forum.
The MSDN forums can be found @ http://social.msdn.microsoft.com/Forums/en-US/categories
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. ”
- Proposed As Answer by Vincent Wang-MCSCMicrosoft Contingent Staff, Moderator Wednesday, June 27, 2012 8:04 AM
- Marked As Answer by Leo HuangMicrosoft Contingent Staff, Moderator Wednesday, June 27, 2012 9:30 AM