how to handle out of memory in weblogic? and if server is
getting more requests then what we have to do in production
environment?
Answers were Sorted based on User's Feedback
Answer / kamal sastry
When ever we face the issue of Out of memory in weblogic
following steps can be taken care
1. Check the heap size of the memory in server
2. Check the cpu and memory(%) of the server if its getting
hiked during the issue.
3. Check if there is any memory likages happening on the
server
4. Check the logs if any of the application running on the
server causing the issue like any SQL query or any
particular funcationality of an application causing an
issue.
5. Check the thread dumps in the logs.
6. If some application functionality or query is causing
the issue then the code needs to be fine tuned and even at
code level we need to make sure that objects that are
getting created are destroyed.
Through above mentioned points we can find out the root
cause of OOM and can fix it.
If the server is getting more requests we can do the
loadbalancing on the server by having disturbuted on
different ports on the same server.
| Is This Answer Correct ? | 41 Yes | 1 No |
Answer / babu
When get This Plz check your Heap memory size. If It is
less plz Increse the Size of Heap memory
| Is This Answer Correct ? | 11 Yes | 1 No |
Gus , not sure why everyone recommends for thread dump for OOM(out of memory) issue . i feel threaddump should be taken during Stuck threads. pls correct me if i am wrong .
Srinivas N
| Is This Answer Correct ? | 7 Yes | 1 No |
How many WebLogic servers can be held inside a multi-processor machine?
Do you know what are the steps in which unicode codesets can be set with the weblogic jdriver?
Can I use the getattribute() and setattribute() methods of version 2.2 of the java servlet api to parse xml documents? : BEA Weblogic
What is a domain template?
1. What is clustering? How do weblogic instances communicate in a clustered environment! 2. In a cluster, if one of the servers has issues and is not accessible, will the other servers know about it? and how??
What is the domain in weblogic server?
what r critical issues in weblogic
2 Answers Accenture, IBM, Tech Mahindra,
When should I use the external_stage option?
Why do I get noclassdeffound/too many open files messages on solaris? : BEA Weblogic
How do I set up my classpath? : BEA Weblogic
How do I bind string values in a preparedstatement? : BEA Weblogic
What is a non-durable topic subscriber?