ENOMEMORY on IDBRECORD_Update | developer.brewmp.com ENOMEMORY on IDBRECORD_Update | developer.brewmp.com

Developer

ENOMEMORY on IDBRECORD_Update

Forums:

What does this return code mean? On the Motorola v325, I get this error once my field count goes up to around 450. Is there some sort of limit on the field count? Or am I running out of flash (I have like 30 megs free, so I doubt it)? Or am I out of heap memory?

-Al

Did you release the IRECORD interface after each call ?

Did you release the IRECORD interface after each call ?

skumar_rao wrote:Did you release the IRECORD interface after each call ?
Yeah, assuming you mean IDBRECORD, I do release it whenever I'm done using it. My code does extensive database read/writes, and I never see any memory leak messages in the simulator, so I don't think that is the problem.
I also inserted a DBGPRINTF that prints out the result from GETRAMFREE(NULL, NULL) when it fails and it appears to have about 3 megs free after the call...it seems like that would be enough to store 450 small fields.

skumar_rao wrote:Did you release the IRECORD interface after each call ?
Yeah, assuming you mean IDBRECORD, I do release it whenever I'm done using it. My code does extensive database read/writes, and I never see any memory leak messages in the simulator, so I don't think that is the problem.
I also inserted a DBGPRINTF that prints out the result from GETRAMFREE(NULL, NULL) when it fails and it appears to have about 3 megs free after the call...it seems like that would be enough to store 450 small fields.