I have a java program that runs 24x7. The code dos web mining and if there is an exception the function is called again in the catch block. There are occasions when there are like 200-300 continuous exceptions. After this although the process runs but the code does not do anything. Could this be because a stack is created which goes out of memory coz this recursion would occur when ever there is an exception in the code.