开发者

What to do with JET_errVersionStoreOutOfMemory on JetUpdate

When I call JetUpdate() I sometimes get either JET_errVersionStoreOutOfMemory or JET_errVersionStoreOutOfMemoryAndCleanupTimedOut.

The machine has plenty of free RAM and disk space, what does this error mean - and more important, what do I do about it?

I've tried actions such as Sleep()ing a bit before开发者_运维问答 retrying the transaction, sometimes this seems to work, but sometimes it doesnt - making me think i'm on the wrong path?


You either need to increase the size of the version store (set JET_paramMaxVerPages with JetSetSystemParameter) or do less work inside of one transaction.

As an example of controlling transaction size see the "How Do I Pulse My Transaction?" entry in the documentation: http://managedesent.codeplex.com/wikipage?title=HowDoI

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜