how to handle out of memory in weblogic? and if server is
getting more requests then what we have to do in production
environment?
Answer Posted / 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 |
Post New Answer View All Answers
What is Horizontal and vertical clustering ?
How do you troubleshoot a crash?
What are weblogic clusters?
What Is Boot.proerties File In Weblogic Server ?
How do I use a temporary destination? : BEA Weblogic
What type of object is returned by resultset.getobject()? : BEA Weblogic
What is cluster in weblogic?
What are the Unix vi commands?
How can the issue associated with high CPU usage be solved?
What happens if acknowledge() is called within a transaction? : BEA Weblogic
How do an rmi-iiop application and an existing corba object interoperate? : BEA Weblogic
How managed servers communicate with each other?
What are the ways in which weblogic servers can run on multiple machines?
How do I learn what codesets are available in oracle? : BEA Weblogic
How do clients handle dns requests to failed servers?