I have a web application deployed on a WebLogic server.
The server comes down very often. I need to figure out if my web application could be the cause. Is there some way I could monitor the memory usage of my application on the WebLogic server or is there a memory log that is generated on the WebLogic server. Please let me know.
In order to check your application memory footprint you can profile your application, I have used JProfiler.
Another way is to add log statements to calls which you think can be using a lot of memory like before method call
long freeMemory = Runtime.getRuntime().freeMemory();
then once method is finished
logger.info("Total memory usage = " + (Runtime.getRuntime().freeMemory() - freeMemory));
Another way is to turn on Weblogic diagnostic, you can read more at
Hope this helps.