Console command to purge Profile documents from memory 
Use this IdeaSpace to post ideas about Domino Server.

: 11
: 11
: 0
: Domino Server / Web application server
: profile documents
: Mark Demicoli10736 25 Jun 2013
: / Email
Profile documents are *almost* a great way to cache information in web applications.  A profile document, once accessed by the web server persists in memory making access lightning quick.
Unfortunately they do not seem to expire and can chew up memory requiring a web server restart.
There appears NO way to purge profile documents from memory similar to the way a DBCCACHE FLUSH command jettisons the database cache and frees up memory.
At a bare minimum the Admnistrator needs to be able to release profile document memory from the HTTP task so that he can schedule a program document to do it periodically.

1) Mike Woolsey4870 (19 Apr 2014)
One of the unpleasant workarounds for this is to set the profile's UNID in the profile document. And then reload the document from the profiled UNID. If it remains the same. And if you can get to the profile by UNID where y'are. It doesn't cover all cases though.

And it's a chatty workaround. I think it'd be great to tell HTTP dbcache flush. I also think it'd be great to specify a profile expiration time. There're other things that could be lurking in HTTP memory.
2) Mark Demicoli10736 (19 Apr 2014)
I once worked with a Russian developer who's favorite comment was "It's not a bug it's a feature!" :) Thanks for the workaround - great to know there is one. I wonder if xpages session/application scope variables can somehow be leveraged outside of xpages.


Welcome to IdeaJam

You can run IdeaJam™ in your company. It's easy to install, setup and customize. Your employees, partners and customers will immediately see results.

Use IdeaJam to:

  • Collect ideas from employees
  • Solicit feedback and suggestions from employees and customers
  • Run innovation contests and competitions
  • Validate concepts
  • Use the power of "crowd-sourcing" to rank ideas and allow the best ideas to rise to the top

IdeaJam™ works with:

  • IBM Connections
  • IBM Lotus Quickr
  • Blogs and Wikis
  • Websphere Portal
  • Microsoft Sharepoint
  • and other applications.

IdeaJam has an extensive set of widgets and API's that allow you to extend and integrate IdeaJam™ with other applications.

Learn more about IdeaJam >>

IdeaJam developed by

Elguji Software Logo