Allocated memory pool was not deleted! 1 GB memory leak is too much for me!

Dear Sirs. I found that DB environment, that was configured to use 1 GB cache size, won't free it when closed! Why? First I tried to open and close environment and got the following:
Detected memory leaks!
Dumping objects ->
{596} normal block at 0x01970040, 1048596 bytes long.
Data: < > 14 00 10 00 DB DB DB DB 0B 00 10 00 01 00 00 00
{578} normal block at 0x00397978, 464 bytes long.
Data: < > D0 01 00 00 DB DB DB DB C7 01 00 00 01 00 00 00
Object dump complete.
I have and idea that BDB will reuse the memory, rite? OK, let's try to create the same environment and open it. After environment was opened, closed, opened again and again closed, I got the following:
Detected memory leaks!
Dumping objects ->
{3663} normal block at 0x01B80040, 1048596 bytes long.
Data: < > 14 00 10 00 DB DB DB DB 0B 00 10 00 01 00 00 00
{3645} normal block at 0x00396E60, 464 bytes long.
Data: < > D0 01 00 00 DB DB DB DB C7 01 00 00 01 00 00 00
{596} normal block at 0x01970040, 1048596 bytes long.
Data: < > 14 00 10 00 DB DB DB DB 0B 00 10 00 01 00 00 00
{578} normal block at 0x00397978, 464 bytes long.
Data: < > D0 01 00 00 DB DB DB DB C7 01 00 00 01 00 00 00
Object dump complete.
So memory was not reused, nor deallocated.
By the way, you may be interested in other leak I found, but fixed, see
Replication manager memory leak when setting local site information.
This leak is more serious, I am not sure I will fix it quickly. Maybe I'm doing something wrong? Could you please suggest something?
Thanks in advance!
With regards,
Vladislav.

OK, the problem solved by fixing code in file 'log.c', method '__log_dbenv_refresh'.
Just added the code that deallocates memory of bulk buffer.
if (IS_ENV_REPLICATED(dbenv))
if (lp->bulk_buf != INVALID_ROFF)
__db_shalloc_free(&dblp->reginfo, lp->bulk_buf);
lp->bulk_buf = INVALID_ROFF;
lp->bulk_len = 0;
lp->bulk_off = 0;
It was allocated in the '__log_open' function, by the following code:
          lp->ready_lsn = lp->lsn;
          if (IS_ENV_REPLICATED(dbenv)) {
               if ((ret = __db_shalloc(&dblp->reginfo, MEGABYTE, 0,
               &bulk)) != 0)
                    goto err;
               lp->bulk_buf = R_OFFSET(&dblp->reginfo, bulk);
               lp->bulk_len = MEGABYTE;
               lp->bulk_off = 0;
          } else {
               lp->bulk_buf = INVALID_ROFF;
               lp->bulk_len = 0;
               lp->bulk_off = 0;
Sorry for time taken to read my posts, I was really needy in quick help, but solved problems myself.

Similar Messages

  • File was not deleteing  in my file adapter

    Hi,
       in my File adapter (<b>sender side</b>) is not working fine..  if i put  the processing mode is  '<b>DELETE'</b>   my adapter is not working.. if i put the processing mode is  'TEST'  then  my file is polling and  outfile was generating.. why this was happending..
           if  keep processing mode is 'delete'  then  the file is polling but it was not deleting so, output also it was not generating... ..  for what reason it was happening..
    Thanks
    babu

    Hi Babu,
    You must be using some user for accessing the file system for picking up tht file...
    Check if the user has Delete access to the folder.
    (You can set this property in the FTP Server UI)
    Regards,
    Sushil.

  • Frozen rogue image on macbook air: synced iphone, was asked to download from itunes, to restart, did this. when restarted there was photo of chocolate saying 'love you'. never seen image, it will not delete, the techs at work tried too. No luck.Virus?

    frozen rogue image on macbook air: synced iphone, was asked to download from itunes, to restart, did this. when restarted there was photo of chocolate saying 'love you'. never seen image, it will not delete, the techs at work tried too. No luck.Virus? any ideas?

    I'm an applications developer and also run a part-time videography business. As such, I require more than 3.12GB of RAM. That is the physical limitation of a 32bit system. Pointless to stay on 32bit if you plan on having more than that much RAM.
    I'm also not about to pay someone to fix my PC when I can do it myself. I was originally hoping for someone who had experienced the problem before to point me in the right direction so I didn't have to spend so much time trying to figure out what the issue was for myself.
    Basically, in the end the problem was caused because right at the point in time when I chose to uninstall, and reinstall; Apple released a new version of iTunes. This version in turn had a requirement of iOS 4.2 to sync with the iPhone. This is a pretty embarrassing for Apple that they would release software reliant on other software before said software was released.
    Had I realised I was downloading a newer version at the initial point of installation, this wouldn't have been an issue. I could've easily have rolled back iTunes to the previous version and gotten on with my life.
    Another issue is that iTunes is not actually a 64 bit application. It masquerades as one to allow installation on the 64 bit platform.

  • Project was not deleted error

    Hi,
    We are using MII 12.0 version. I imported one project into it and after some modifications in query templates, when i tried to delete it from System Management -> Projects page , it is showing alert as "Project was not deleted".
    I am able to delete other projects. I tried to delete from work bench there it is showing error as "Error On Delete: org.xml.sax.SAXParseException: Content is not allowed in prolog".
    What is the problem and how to delete that project.
    Regards,
    Senthil
    Edited by: senthil kumar on Nov 16, 2010 1:00 PM

    Hi,
    We found the problem and deleted the project.
    We tried it by deleting folder by folder. While deleting In one folder it showed same prolog error and it is coming when one particular transaction is being deleted. When we analysed, we found that this transaction is not loaded successfully as it contains error data as letters like @#$@$@*$@&&!#$ as continously. we replaced this transaction with new empty transaction with same name and we tried again to delete and it is deleted. after that we were able to delete the project from Project page.
    Thanks.
    Regards,
    Senthil

  • CRM Complaint DSO Request was not deleting

    While I'm trying to delate a request in COMPLAINT DSO.It was not deleted then I checked error it showing as Rollback error.
    What I did: I'm tried to do repair full request and so click on start btn in infopackage(after checking everything I click on start btn) then I got a message like "Due to many selections, a cancellation can occur" by click on continue btn then I got a message like "Do you want to check the conditions again?" then I click on "No" btn then by thinking I'm doing wrong I click on Stop transaction button then onwards I got this problem .Please excuse me .
    Please help me.

    Hi
    The problem is due to inconsistent entries in table RSODSACTREQ,
    check for the request in the table RSODSACTREQ and if there is an etry with
    OPERATION         U
    STATUS                 2
    This entry has to be deleted. Please use Note 868391 (solution step 2)
    to delete the request from the ods. You can then reload and activate the
    request again.
    Please try these notes.
    1008276  You cannot delete request from DataStore object
    1007717  Deleting from DataStore object: Termination w/o log entries

  • Calendar in iCloud. It was not deleted. Any one knows how to retrieve it?

    I have four calendars hosted in iCloud. One of them just disapeared. It was not deleted. Any one knows how to retrieve it? I had years of information there.

    Double tap with THREE fingers to turn zoom off. Then go into Settings>General>Accessibility and turn it off for good.

  • TS3999 one of our calendars is missing which was not deleted how do you restore it or find it.

    Our Vacation calender is gone.  It was not deleted by us.  How do you restore it?

    You can access iCloud.com on a computer to turn it off.
    http://support.apple.com/kb/PH2702

  • Sold my iPhone 4, personal info was not deleted, can't use iCloud because another device is logged into it. What do I do?

    Sold my iPhone 4, personal info was not deleted, can't use iCloud because another device is logged into it. What do I do?

    Buy a retail Snow Leopard DVD. After installing that, you can upgrade to Lion if you wish.

  • I bought a new ipad and shared my documents in Pages from the old ipad to my cloud, but the only document showing on my new pad is the ones that was not in folders. Have I lost my documents for ever?

    I just bought a new ipad and shared my documents in Pages from the old ipad to my cloud, but the only documents showing on my new pad is the ones that was not in folders. Have I lost my documents for ever?

    Thank you, but after an hour with apple support on the phone we came to the conclusion that the documents are lost... So the lesson is, don't trust icloud as a back up solution! A month worth of work down the drain...

  • How to not delete photos on memory card once uploaded to iphoto??

    Hello!
    I have checked the box that said DELETE PHOTOS ON MEMORY CARD ONCE UPLOADED ON IPHOTO, and I did check "don't ask me again"... and now I do not know how to undo this mistake I made.
    Please help?
    Thanks!!
    -Emilie

    What OS and version of iPhoto  --  prior to Lion
    A good general step for strange issues is to renew the iPhoto preference file - quit iPhoto and go to "your user name" ==> library ==> preferences ==> com.apple.iPhoto.plist and trash it - launch iPhoto which creates a fresh new default preference file and reset any personal preferences you have changed and if you have moved the iPhoto library repoint to it. This may help
    This does not affect your photos or any database information (keywords, faces, places, ratings, etc) in any way - they are stored in the iPhoto library - the iPhoto preference file simply controls how iPhoto works - which is why renewing it is a good first step.
    LN

  • The spinning "wheel of death" does NOT go away! I've loaded too much stuff on my computer (including the entire Adobe CS6 software) and I want to delete everything on my macbook pro and start over? How do I clean everything up without buying MacKeeper?

    I use my MacBook Pro (Late 2009) for EVERYTHING and I have loaded so many apps, even doubles of some, I think!   My computer is running really SLOW and I think it is because I don't have enough memory. 
    I just installed the new Adobe CS6 and that was a BIG mistake.  The spinnning wheel of death doesn't stop! I wish I could load that program on my computer so I can use it "on the go", but I can't stand the spinning wheel! 
    I want to clean up my computer and get rid of EVERYTHING on it!!     Then, re-install the factory settings to run Lion.  I believe this will make the wheel stop spinning.
    However, how do I make sure that all of the extra stuff that is attached to the app, ( including all the cache') is deleted too?   I don't want to have to buy MacKeeper! 
    I am hoping the computer wizards or the apple team can give me an answer on how to clean up everything and start over.  I have saved everything on my desktop mac. 

    Thank you so much for the help!  I had heard bad things about MacKeeper and I don't want to screw up my macbook  any more than it already is!  I will do as you suggest.  Do you believe this is the best solution for the problem I described?
    Should I load my Adobe Creative Suite 6 (in the cloud version) on an external hard drive? 
    I am so tired of this spinning wheel....should I avoid putting the CS6 on my macbook pro altogether?
    I have it on my desk top mac, but wanted to be able to take the photo editing with me when I am "out and about".  I know I should probably buy the ipad, which would transport much easier, but even the ipad probably doesn't have the capacity to hold all the Adobe CS6 apps, correct?

  • ITunes does not delete songs  -- Send song files to the Trash for deletion

    27May2012
    Apple Support:
    I have Itunes on an external drive.  I put the (song) files on another external drive for storage becasue the itunes drive is full.
    After copying the files, I tried to delete the songs.  I had the option to keep the files or send them to the trash.
    I selected the send to trash option, then went to the Finder to empty the trash.
    The files were taken off the library, but the files were not deleted.  My hard drive is still very full. 
    How do I delete the files  -- remove them from my hard drive.
    Anohter issue:
    I tried the same thing earlier this morning.  I may need to reinstall the songs on Itunes (once I get itunes to delete the files from the hard drive).  
    I appreciate any help you can give me.
    <Email Edited By Host>

    It's definitely intel, why wouldn't it be?
    I don't know.
    You list a G5.
    A G5 is a PowerPC chip made by Motorola, not Intel.
    And G5 Macs/iMacs have not been made for +4 years.

  • Hello . I hope to get a solution to my problem: ( I bought a laptop Mac Pro, a user But the seller was not the Secretary Laptop after arriving I've worked for almost an hour When connected to electricity Nour appears very faint, I do not see it quickly ht

    Hello
    . I hope to get a solution to my problem: (
    I bought a laptop Mac Pro, a user
    But the seller was not the Secretary :" (  !!
    Laptop after arriving I've worked for almost an hour
    * When connected to electricity
    Nour appears very faint, I do not see it quickly
    http://www.3rabart.com/up/download.php?img=38472
    When separated from the energy, light shows intermittently and then disappears fast
    http://www.3rabart.com/up/download.php?img=38473
    I need urgent help please.
    Thank you

    Please ، How Email  for a company ? I want to communicate with them about my problem "(

  • HT201364 I have tried to download OS X Maverick on to my MacBook Pro. Here the error message I received "the product distribution file could not be verified. It must be damaged or was not signed. Can I still used the computer for others projects?

    How can this error be corrected?  "The product distribution file could not be  vverified. It must be damaged or was not signed. So can this error be repaired? I have read good things about this updated software. I really looking forward to enjoying the benefits of using OS X Mavrick softtware in my daily life.
    Another question can I operate laptop with other project while it is downloading?
    Thanks,
    Otis A. Drakeford

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you boot, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, reboot as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Document was not found in search results after full crawl run for a sharepoint web application.

    Hi
    in a sharepoint farm i started full crawl , and after when i search a document with its name its was not display in search results.
    how to trace this issue
    adil

    HI
    i started full crawl for content source and 
    when i search a document  with s it s documentid :
    the document was found,
    but when i search same document with its name it was not found.
    the documents those not found with its name was last month documents  only and before
    that old documents was found in search results when i search with its name value.
    - the last month we moved the content database storage to new location 
    -  i stopped all sharepoint services including search (stopped crawling ) and started again when storage
    migration completed
    adil

Maybe you are looking for