Maximum number of memory segments that Notes can support has been exceeded

Posted on 2009-04-16
Last Modified: 2013-12-18
I am using C API and for specific NSF (containing large no of Docs 710, and View + folders = 47), I am getting "Maximum number of memory segments that Notes can support has been exceeded" error. I am generally getting this error in CDBITMAPSEGMENT,  NSFNoteOpen etc.
Any workarround....
Question by:prpradip
    LVL 63

    Expert Comment

    that does not sound right, since 710 docs is NOT a lot for lotus notes.

    I would check if there is anything you can change in the memory settings of the API.

    I hope this helps !
    LVL 22

    Accepted Solution

    It's not the number of documents.  I have some databases that are approaching 1 million records.

    It's could be the folder count, but I doubt it.  We've had that error message in a shared mail file that had hundreds of folders.  It turned out to be a Windows limitation, not Notes.  If this is caused by the folder count, you would get the same error if you opened the database in a Notes client.

    Do you have the same problem accessing other databases with this code?

    Post your code.

    Author Comment

    Ok experts,
    I solved it. I forget to call ConvertNotesBitmapFree after ConvertNotesBitmap...and huge numbers of handles were reserved and unfree. Thanx both of you.

    Author Comment

    I am awarding points to Bill-Hanson...

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
    You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now