Forums Register Login

out of memory

+Pie Number of slices to send: Send
Hi All,

I have never done any work on performance improvisations of java apps earlier.
I have a core java application (uses Hibernate as ORM frmwork) which works fine when run in a single mode (good response time).
No we are running this application in a batch mode i.e. running this whole application in a for loop and now I am running into Out of memory error.

What are things I need to watch.

Do post your thoughts

Thanks,

Uday
+Pie Number of slices to send: Send
1. What is the heap size you are running your application? You can check the -Xm options for using more heap in case its required.

2. Check if there are objects released in you program, if you are going outof memory in a high heap size then there is a possibility that you may be leaking memory.
+Pie Number of slices to send: Send
joke time: What is brown and sticky? ... ... ... A stick! Use it to beat this tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1248 times.
Similar Threads
server/alone command line
Out of Memory with high Free Memory
JVM in Server or Client mode ?
Memory
Migration from Websphere 4 to 5.1.1.8 fop issue
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 00:40:56.