dbTalk Databases Forums  

Re: Memroy leak in TxnBegin

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss Re: Memroy leak in TxnBegin in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ubell@sleepycat.com
 
Posts: n/a

Default Re: Memroy leak in TxnBegin - 12-30-2005 , 12:53 PM







Kiran Kumar M R wrote:
Quote:
Hi,
I am running my system with purify.
I encountered a memory leak in txn_begin. How to resolve this.

New memory leaked: 192 bytes (0.000113%); potentially leaked: 0 bytes
(0%)
MLK: 132 bytes leaked at 0x12328450
This memory was allocated from:
malloc [rtlib.o]
__os_malloc [libdb_cxx-4.3.so]
__os_calloc [libdb_cxx-4.3.so]
__txn_begin [libdb_cxx-4.3.so]
__txn_begin_pp [libdb_cxx-4.3.so]
DbEnv::txn_begin(DbTxn *,DbTxn * *, unsigned)
This is because you have not committed or aborted a transaction
you started.

Quote:
[libdb_cxx-4.3.so]
MLK: 52 bytes leaked at 0x1232f698
This memory was allocated from:
malloc [rtlib.o]
__os_malloc [libdb_cxx-4.3.so]
__db_txnlist_init [libdb_cxx-4.3.so]
__txn_undo [libdb_cxx-4.3.so]
__txn_abort [libdb_cxx-4.3.so]
__txn_abort_pp [libdb_cxx-4.3.so]
MLK: 8 bytes leaked at 0xa8cbdd8
This is probably from a subtransaction whose parent has
not been committed or aborted.

Quote:
This memory was allocated from:
malloc [rtlib.o]
operator new( unsigned) [libstdc++.so.5]
DbEnv::txn_begin(DbTxn *,DbTxn * *, unsigned)
This is from a transaction that you have not committed or aborted.

Michael Ubell
Sleepycat Software.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.