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

Difference between weblogic development and production mode?

616


What are the different versions of nm?

538


What are the various causes for out of memory?

556


Explain the types of node manager?

567


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

558






What is a trace in relation to web logic server?

512


What are the advantages of using application servers?

499


Explain briefly the client-server architecture.

512


How do I programmatically get a list of queues or topics? : BEA Weblogic

540


Can weblogic server start with a unix boot? : BEA Weblogic

529


What is bootup process?

550


What is meant by thread dump and how can we take?

534


What is the easiest way to set the classpath ?

594


What is Weblogic ? (Weblogic Interview Questions)

607


Why does jmssession.createtopic or jmssession.createqueue fail to create a destination in wls jms 6.1 (it worked in 5.1)? : BEA Weblogic

548