
With GlobalMemoryStatus(), there's enough memory spaces to get 16Mb. I tried with malloc and VirtualAlloc but failed. I tested and I can get *just* 8Mb memory.
It's not a problem about *allocate and free again and again*. I just allocate 16Mb when my application is started, and free it when I quit. What can I do? I'm going crazy... lol