IBM®
Skip to main content
    Country/region select      Terms of use
 
 
   
     Home      Products      Services & solutions      Support & downloads      My account     

developerWorks  >  Lotus  >  Forums & community  >  Best Practice Makes Perfect

Best Practice Makes Perfect

A collaboration with Domino developers about how to do it and how to get it right in Domino

One of the responders to my performance tips document mentioned using the Delete doc statement to clear NotesDocument objects out of memory as a way to improve performance by not gobbling up as much memory.

This is something I've advocated myself, but I've had email communication with another developer who was not convinced, and who did timing and memory tests that showed that using Delete actually had no effect on performance or memory usage.

I haven't had time to study these results in depth, but I did a little testing and didn't see any difference either, so I'm sort of halfway convinced that using Delete is a waste of time. Has anyone done any serious testing around this that does show a benefit? Is it possible that something changed in a recent version so that this no longer helps?

Andre Guirard | 26 June 2007 07:48:08 PM ET | Plymouth, MN, USA | Comments (7)

Search this blog 

Disclaimer 

    About IBM Privacy Contact