What is the maximum memory a window application , can take .
actually i am developing a server which is going to consume huge memory , so i want to know what max i , can get in windows.
and how can i judge how much memory , my server is consuming at a particular time .
so if
Current Consumed >=Total Possible Memory
i will simply stop accepting new clients .
What api might help me.