Skip navigation links


com.essbase.eas.essbase.server.outline
Class OutOfMemoryManager

java.lang.Object
  extended by com.essbase.eas.essbase.server.outline.OutOfMemoryManager


public class OutOfMemoryManager
extends java.lang.Object

Class to handle Out of Memory errors

Author:
kkrishna

Field Summary
static int DEFAULT_RESERVED_SIZE
           

 

Constructor Summary
OutOfMemoryManager()
           

 

Method Summary
static void allocateReservedMemory()
           
static void handleOutOfMemory(CommandBox cb, Identifier identifier, boolean closeOutline)
           
static void handleViewerOutOfMemory(CommandBox cb, StoreService storeService, ServiceContext serviceContext)
           
static void printJVMStats()
           
static void releaseReservedMemory()
           
static void simulateOutOfMemory()
          Method to Simulate OOM.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

DEFAULT_RESERVED_SIZE

public static final int DEFAULT_RESERVED_SIZE
See Also:
Constant Field Values

Constructor Detail

OutOfMemoryManager

public OutOfMemoryManager()

Method Detail

simulateOutOfMemory

public static void simulateOutOfMemory()
Method to Simulate OOM. This method may throw Out of memory Error.

printJVMStats

public static void printJVMStats()

allocateReservedMemory

public static void allocateReservedMemory()

releaseReservedMemory

public static void releaseReservedMemory()

handleOutOfMemory

public static void handleOutOfMemory(CommandBox cb,
                                     Identifier identifier,
                                     boolean closeOutline)

handleViewerOutOfMemory

public static void handleViewerOutOfMemory(CommandBox cb,
                                           StoreService storeService,
                                           ServiceContext serviceContext)

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.