Am working on a Java application which developed in Java 5. We are trying to update it to Java 6 so we have started using Jdk1.6. It runs 24 hrs we have not schedule any timely bounce for this application.
This is a thread based application in all 92 threads run fetching messages from MQ queues to insert the data in Oracle tables.
my question is we sometimes get Out of memory error in Java 6 .. is this because we should timely bounce the application once in week/month? or we should check for any memory leaks in the code?
Just curious to know is GC enough to run application long time or restart is always needed?