0 Replies Latest reply on Aug 8, 2011 1:33 PM by 880975

    Memory problems - trying to lazy fetch my LOBs

      I'm running an application on a Weblogic App-Server (10.3.3) on an Oracle database (10g and later on 11g), and it appears that my application's memory isn't managed correctly, as after running it for a while it starts to repeatedly throw "gc overhead limit exceeded" exception.

      I profiled my server with jvisualvm, and it appears that most of the heap consists of byte arrays, and these byte arrays are associated with one of my main entities as its 'data' member (BLOB in the DB).

      I've tried to change that entity with something like this:

      public byte[] getData() { return this.data; }

      but then I always get null.

      Is there anyway to lazy-fetch my LOBs?