I have run into an intermittent error. I am running /CHECKMATE as I test the interfaces and coding.
I have incorporated HELP into my program, and am getting a crash message about the application running out of memory. It is occurring only when I click on my HELP menu item, and usually the third or fourth item clicked. That said, as a test, I opened HELP for 10 items, and didn't get a crash - thus the intermittent nature.
Looking at the task manager at the time of the crash, it indicates the program is consuming 864 MB. In my link step, my link options for memory are:
/heap:12000000,6000000 /stack:9600000,4800000
Since it is only when I invoke HELP that the error is occurring, only a couple of options come to mind. One is that when HELP is decompressing the file, it might attempt allocate a great deal of memory, and the error occurs. Or, as I am building the windows, I have a temporary on the stack that I have included in a winio@() statement that shouldn't be there. (I have to watch out for that one!). I have known this to sometimes cause an issue with concurrent windows getting hammered at run-time.
Any insights one may have will be most appreciated.