C - 28 characters (full program)
==

Don't run that one, or your system will quickly get frozen!

	main(i){while(malloc(++i));}

As `i` is incremented, this will try to allocate bigger and bigger chunks of memory (without freeing it), until the `malloc` returns NULL when there is not enough ressources anymore.