Skip to Main Content

Berkeley DB Family

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Berkeley DB C# issue - Memory leak in Berkeley DB batch insert mode

994473Mar 3 2013 — edited Apr 18 2013
I'm using Berkeley DB v5.3.21 to insert a massive amount of data (100K records) to a BDB queue.

When I started using the batch insert mode, aka, using MultipleDatabaseEntry, it seem to cause a memory leak in the un-managed memory section.

How can I resolve that issue?
Has anyone ever stumbled upon such issue with BDB?

P.S

As an alternative solution, I thought to just use .Net FileStream in order to write my data to a file, since the implantation will include:
* One sequancial writer.
* Multiple random access readers.
* Fixed data entry size.

Do you think it should be simple enough to implement?

Edited by: EranBZ on Mar 20, 2013 1:43 AM

Edited by: EranBZ on Mar 20, 2013 1:44 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 16 2013
Added on Mar 3 2013
17 comments
2,091 views