If your system runs out of memory, bad things MAY happen. Most OS's keep some memory in reserve so that system critical functions can still allocate memory.

If your application uses up all the memory that is available then it will probably fail/crash - which is never a good thing [ok, it may not be a terrible thing, but it's certainly not a nice thing].

--
Mats