This content has been marked as final. Show 6 replies
Have you seen this thread?: Default XX:MaxPermSize on WebLogic Server 10.3.2.0
Also, maybe the "Best Practices" JRockit documentation can help you tune your JVM. Have a look if you haven't come across it yet: [http://download.oracle.com/docs/cd/E13150_01/jrockit_jvm/jrockit/geninfo/diagnos/bestpractices.html]
Hope something helps.
We are also facing the same issue with JRockit R27.6 and RHEL 5 and Weblogic 10.3.1. Our Production Environment is coming down every week because of this and we have raised an Oracle Support Ticket also, but that is taking its own time.
We have set our parameters as below
-jrockit -Xms1024m -Xmx1024m -XXlargeObjectLimit=128k -XXtlaSize:min=128k,preferred=512k
However now every week in all the environments (including DEV) we are getting "java.lang.OutOfMemoryError: nativeGetNewTLA" issues.
Please suggest some solutions !
I am seeing this from our Collaboration module in Web Center Interaction 10.3.0:
Exception in thread "PMB Message Receiver" java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object size: 65552, Num elements: 65536
INFO | jvm 1 | 2011/09/16 14:52:51 | Initializing WrapperManager native library.
INFO | jvm 1 | 2011/09/16 14:52:51 | Java Executable: E:\bea\alui\common\jre\1.5.0_32\bin\java.exe
INFO | jvm 1 | 2011/09/16 14:52:51 | Windows version: 5.2.3790
INFO | jvm 1 | 2011/09/16 14:52:51 | Java Version : 1.5.0_12-b04 BEA JRockit(R)
INFO | jvm 1 | 2011/09/16 14:52:51 | Java VM Vendor : BEA Systems, Inc.
However, nothing has changed in terms of configuration on the server. What would cause this now?
From what I read below - changing the options will not help.
IMHO tuning the JVM - apart bumping up the heap size - rarely helps in solving memory issues. With Java 6 the JVM is already self-tuning for most scenarios.
What really you should do when you have a OOM problem is to take a heap dump (-XX+HeapDumpOnOutOfMemory) and analyze it to understand which objects (normally there is only 1 class of object responsible for the trouble) are taking up most heap space. Use yourkit, eclipse mat, visualvm or any other tool you like. in any case, you need tools, you will get nowhere using only your bare hands.
This is probably due to the fragmentation of the heap.
As more and more garbage collection are run, the heap gets fragmented, which can result that
large objects cannot be allocated. Usually, after each full garbage collection a compaction is run, i.e.,
moving objects in order to create more contiguous space.
How is your JVM tuned, are you using the pausetime or deterministic scheme?
More information can be found here: http://middlewaremagic.com/weblogic/?p=7083
I have no idea how it is tuned. It is a black box to me. I use all default settings. A config file was modified in ptcollaborationserverd.bat:
rem Large Settings -- For large scale deployments with very heavy component usage
set JVM_1=-server -Xms400m -Xmx600m -Xmanagement:autodiscovery=true,authenticate=false,ssl=false,port=7091
For Collaboration - I did install JRockit Mission control.
Thanks for the article - I will take a look and get a better understanding.