none
OOM Exception RRS feed

  • Question

  • Hello,

    I am having a interesting issue where in the code it throws an OOM exception. This is a long running process and I know the part of the code where it has to create objects based on a earlier condition. These objects have to bein memory until it reaches one other condtion where it writes it into the database.

    I've looked into MemoryFailPoint and when I used this

    using (MemoryFailPoint memoryFail = new MemoryFailPoint(3000)) I've got insufficient memory exception.

    Is there any way I can create the object on a disk or increase the memory size when it reaches this point of code!

    Is there any way I can increase the memory size, to avoid OOM exception.

    Any thoghts or Inputs??

    TIA,

    Pani

    Wednesday, August 13, 2008 3:20 PM

Answers