I'm building an application which needs to dynamicall create memory entities - each of 10MB in size. In the heap, not using virtual memory.
I'd like to evaluate, before the memory objects creation starts, what would be the max (just evaluation) number that can be created, thus I need to get the process' available heap at the instant.
How can I get such info, if possible, for Windows environments (XP, Vista, Server 2008 ...). I have some hints but I'd like to have your expert opinion.