I'm running on windows XP.
Say my computer has 1GB of memory. What happens if my process tries allocating more than that. Will new fail? Will the machine try using the hard drive as memory somehow? Will the machine crash? If the system starts using the hard disk as virtual memory of some sort, at what point does that get exhausted?