Русский English Tags View Sergey Zolotaryov's profile on LinkedIn Sign-in
OOM in Oracle
Permanent link 23-03-2011 anydoby java

A very short notice. If you have a really huge resultset that you only need to traverse once in one direction never use ResultSet.TYPE_SCROLL_INSENSITIVE or ResultSet.TYPE_SCROLL_SENSITIVE, in Oracle. Only the ResultSet.TYPE_FORWARD_ONLY.

Today I worked on one of our numerous OutOfMemory problems that had to do with a large resultset. Oracle driver appears to be caching the CachedRowElement's in memory!!!

Add a comment

Previous article Automatic image deskew in Java