Public Member Functions | |
| void | produceOutOfMemoryError (boolean throwOutOfMemoryError) |
Static Public Member Functions | |
| static void | main (String args[]) |
This class very quickly consumes heap memory until an OutOfMemoryError is thrown. Depending on the parameter given to main ("throw" or "return"), the call either fails with the OutOfMemoryError, or simply returns.
| static void alma::acs::JVMSettingsTest::ConsumeHeap::main | ( | String | args[] | ) | [inline, static] |
References produceOutOfMemoryError().
| void alma::acs::JVMSettingsTest::ConsumeHeap::produceOutOfMemoryError | ( | boolean | throwOutOfMemoryError | ) | [inline] |
Referenced by main().
1.6.2