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


Please Help Members By Posting Answers For Below Questions

Do you know what are the steps in which unicode codesets can be set with the weblogic jdriver?

475


How to debug my ant script?

541


Tell me what are the ways in which weblogic servers can run on multiple machines?

554


What is the function of managedconnection.addconnectioneventlistener() in web logic server?

538


How do I enable debugging for the messaging bridge? : BEA Weblogic

475






When does high cpu usage occur?

580


What is cluster stub?

541


What should you do in a passive method?

541


Explain what are the databases that are available to be used with the web logic j2ee connector architecture?

482


How do I configure jms security? : BEA Weblogic

541


Explain the use of http ?

676


What are the admin default ports?

670


When we will take thread dump? Please give us some examples?

476


How do the wls jms 6.1 server/destination message maximum and threshold values work? : BEA Weblogic

526


How do I provide user credentials for starting weblogic server?

562