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
A client wants to preserve the reference to the ejbhome object of an enterprise bean instance and use it later. Which of the following can be serialized for this purpose? : BEA Weblogic
Which of the attributes in the monitoring tab for a jdbc connection pool in the administrative console tell us how many clients are currently waiting for a connection? : BEA Weblogic
What is cluster stub?
What is weblogic?
Explain the difference between txdatasource and datasource?
An instance of stateful session ejb when accessed simultaneously from more than one clients on same vm results in remoteexception or ejbexception. In case the client is a servlet thread, which of the techniques can be used to avoid remoteexception/ejbexception? : BEA Weblogic
What are the supported installation modes for WebLogic Server ?
How can the nm be made to work with web logic? Explain?
What are class paths?
How do I use a third-party jdbc driver with jms? : BEA Weblogic
how to upgrade the weblogic server licence?
Why is there no polymorphic-type response from a create () or find () method?
Why does executing the preparedstatement class cause a trunc fails: ora-00932: inconsistent datatypes error? : BEA Weblogic
When should I use the -nostage option?
How can I control on which weblogic server(s) my application will run? : BEA Weblogic