logo

New Response

« Return to the blog entry

You are replying to:

    • avatar
    • Simon O'Doherty
    • Posted on Tue 3 Jan 2012 06:31 AM

    The short answer is, when you need to clean up the back end of a Domino object you use recycle.

    For example (the most common). If you are in a loop reading documents from a view. Then you should recycle the current document for that iteration of the loop.

    You need to be careful because Java objects can share the same back end. So if you recycle a document that is being used by another java object, its back end can also be recycled.

    As for a definitive answer, you would need the full stack. For example if the out of memory is occurring in AgentLoader then try moving any embedded jars to lib/ext as Michael mentions.

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: