Hi,
We have an issue right now related to session creation. With incoming developments of SOLR search, sessions will use less memory, but even then, GeoNetwork needs a lot of memory to keep many sessions at the same time. This is a serious bottleneck in performance.
We have already improved this by not creating a session if we detect certain user agents that are commonly related to crawlers or statusless command line executions.
In the list of tasks to improve better session handling we plan to have (sometime in the future) a new admin page with the list of all opened sessions (and by whom, since when, how much memory) so an administator can force a session deprecation. Still, this is not the best approach as it is still a manual check.
I am looking for better ways to improve it. Do you have suggestions? And/or do you have memory leaks detected that can help reduce the memory footprint of each session?