J
Joseph Cavanagh
Currently we are having an issue with Oracle running out of cursors
(Max cursors are set to 1500, with some other apps utilizing a small
percentage of those). We are using hibernate within our java code.
The cursor error happens after about 50-60 minutes of the application
running and processing. I've noticed that heap size (average) and
classes loaded continues to climb until the app errors and is no
longer able to process. At this point I'm thinking that it may be
something to do with classes are never garbage collected and are just
tossed in either permGen or oldGen. Would this cause an error with
cursors? Is it possible that a class that isn't unloaded is causing
hibernate to not clear a cursor? I'm not on the development end so
I'm not 100% familiar with their code.
(Max cursors are set to 1500, with some other apps utilizing a small
percentage of those). We are using hibernate within our java code.
The cursor error happens after about 50-60 minutes of the application
running and processing. I've noticed that heap size (average) and
classes loaded continues to climb until the app errors and is no
longer able to process. At this point I'm thinking that it may be
something to do with classes are never garbage collected and are just
tossed in either permGen or oldGen. Would this cause an error with
cursors? Is it possible that a class that isn't unloaded is causing
hibernate to not clear a cursor? I'm not on the development end so
I'm not 100% familiar with their code.