In July, Steve Castledine wrote a blog entry named “XPages Memory Usage and Performance Tips 8.5” (http://www.stevecastledine.com/sc.nsf/dx/xpages-memory-usage-and-performance-tips-8.5?opendocument&comments).
An interesting remark is made regarding clearing JavaScript variables:
"avaScript Variables
This is more important then you may realise and its not something I was aware of until we did some profiling, but any variables you declare within your XPages code do not automatically get cleared from the heap after use as they persist for the life cycle of the XPage (which is beyond just serving the page to the browser).
So whilst its always good practice to recycle early anyway, remember to clear variables especially large objects or strings that could remain in the server memory. From 8.51 there is a new property which can be set to clear all variables as soon as the code has run. As with anything mentioned for future releases its not guaranteed to actually be delivered etc etc.
"
Does anyone on this forum know if this property was in fact included in 8.5.1?
If so, how do I enable it?
Any help is greatly appreciated. Thank you in advance for your effort!