alma::acs::JVMSettingsTest::ConsumeHeap Class Reference

List of all members.

Public Member Functions

void produceOutOfMemoryError (boolean throwOutOfMemoryError)

Static Public Member Functions

static void main (String args[])

Detailed Description

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.


Member Function Documentation

static void alma::acs::JVMSettingsTest::ConsumeHeap::main ( String  args[]  )  [inline, static]
void alma::acs::JVMSettingsTest::ConsumeHeap::produceOutOfMemoryError ( boolean  throwOutOfMemoryError  )  [inline]

Referenced by main().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2