How much of a machines memory is the JVM allocated by default? Reason I'm asking is coz before today, I din't think it was possible to write a Java Program that could crash an entire Linux OS. I was curious and tried to re-run the program after re-booting (it froze the entire system, couldn't even go to my F2 screen), after rebooting, the program crashed and froze a few other applications but not the entire system.
Just wondering how much is the Runtime environment allowed to use (is it allowed to hog all resources)?
Its a thread rich application.
Anyways, just a passing Q - more so out of curiosity than need.
Have you see the Java2D demo? In that demo they monitor (and visualize) de VM memory allocation and CPU consuming. I think that is a nice starting point.