Quitting Omnis due to unrecoverable error: Insufficient memory available DMFVAL.cpp:536

Mark Phillips mark.phillips at mophilly.com
Thu Dec 15 16:00:59 EST 2011


On Dec 15, 2011, at 12:30 PM, sam nicol wrote:

> I narrowed it down to a possible memory leak when doing
> 
> Begin statement
> Blah , blah blah
> End statement
> 
> Do xxx.$prepare()
> 
> Repeat 
> 
> Do xxx.$execute()   lots of times
> 
> Until < Quitting Omnis due to unrecoverable error: Insufficient memory
> available DMFVAL.cpp:536>


Sam,

Have you tried using the oStatement.$clear() at an appropriate place in the loop? The $clear method will dispose of pending results or operations that have not been processed by your application.

hth,

 - Mark Phillips





More information about the omnisdev-en mailing list