java.lang.OutOfMemoryError: getNewTla

2013-01-25  张林 
starting weblogic with Java version:
java version "1.5.0_28"
Java(TM) Platform, Standard Edition for Business (build 1.5.0_28-b04)
Oracle JRockit(R) (build R28.1.3-11-141760-1.5.0_28-20110301-1432-linux-x86_64, compiled mode)
java.lang.OutOfMemoryError: getNewTla.
java.lang.OutOfMemoryError: getNewTla
        at weblogic.servlet.internal.session.SessionContext$SessionInvalidator.timerExpired(
Exception in thread "communication thread" Exception in thread "Thread for syncLogs" Exception in thread "Timer for 'ReduceTask' metrics system" Exception in thread "LeaseChecker" java.lang.OutOfMemoryError: getNewTla at java.lang.Throwable.toString( at java.lang.String.valueOf( at at java.lang.Throwable.printStackTrace( at org.apache.hadoop.util.StringUtils.stringifyException( at org.apache.hadoop.mapred.Task$ at java.lang.OutOfMemoryError: getNewTla at org.apache.log4j.Hierarchy.getCurrentLoggers( at org.apache.log4j.LogManager.getCurrentLoggers( at org.apache.hadoop.mapred.TaskLog.syncLogs( at org.apache.hadoop.mapred.Child$ java.lang.OutOfMemoryError: getNewTla at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.snapshotMetrics( at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.onTimerEvent( at org.apache.hadoop.metrics2.impl.MetricsSystemImpl$ at java.util.TimerThread.mainLoop( at java.lang.OutOfMemoryError

Exception in thread "IPC Client (47) connection to master/ from maintain" java.lang.OutOfMemoryError Exception in thread "Thread for syncLogs" java.lang.OutOfMemoryError Exception in thread "Timer for 'ReduceTask' metrics system" java.lang.OutOfMemoryError Exception in thread "ganglia" java.lang.OutOfMemoryError Exception in thread "ResponseProcessor for block blk_-1396931942055176863_4723681" java.lang.OutOfMemoryError: getNewTla at java.util.HashMap.addEntry( at java.util.HashMap.put( at java.util.HashSet.add( at java.nio.channels.spi.AbstractSelector.cancel( at java.nio.channels.spi.AbstractSelectionKey.cancel( at$ at at at at at at org.apache.hadoop.hdfs.protocol.DataTransferProtocol$PipelineAck.readFields( at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream$


Error java.lang.OutOfMemoryError: getNewTla using Oracle EPM products By Marc Schumacher on Oct 31, 2012

Running into a Java out of memory error, it is very common behaviour in the field that the Java heap size will be increased. While thismight help to solve a heap space out of memory error, it might not help to fixan out of memory error for the Thread Local Area (TLA). Increasing theavailable heap space from 1 GB to 16 GB might not even help in this situation.

The Thread Local Area (TLA) is part of the Java heap, but asthe name already indicates, this memory area is local to a specific thread sothere is no need to synchronize with other threads using this memory area.

For optimization purposes the TLA size is configurable using the Java command line option “-XXtlasize”. Depending on the JRockit version and the available Java heap, the default values vary.

Using Oracle EPM System (mainly 11.1.2.x) the following setting was tested successfully:


More information about the “-XXtlasize” parameter can befound in the JRockit documentation:

1176°|11767 人阅读|0 条评论
登录 后发表评论