Java Memory throwOutOfMemoryError()

Here you can find the source of throwOutOfMemoryError()

Description

throw Out Of Memory Error

License

Open Source License

Declaration

public static void throwOutOfMemoryError() 

Method Source Code

//package com.java2s;

public class Main {
    public static void throwOutOfMemoryError() {
        throw new OutOfMemoryError("java");
    }//  w  w  w .  j a  v  a 2s. c  o m
}

Related

  1. removeSliceFromMemory(String schemaName, String cubeName, String loadName)
  2. reportMemory()
  3. reportMemory(double val)
  4. simpleMemory()
  5. testMemory(long bytesToTest)
  6. unlimitMemory()
  7. waitForMemory(double memory)
  8. writeMemory()