On 17/02/2013, Julian Klein <julianklein(a)gmail.com> wrote:
Ok, I witnessed this with JProfiler. I will try with jmap to make
sure and
report back later today or tomorrow. Is it safe then to assume that
discarding (dispose) the session between laps is better from a throughput
perspective than re-using it?
If you need to start each session with a clean slate: yes, dispose is
preferable.
Also, would using a Stateless Session
"perform" better from either a memory or CPU perspective?
Only if you can run it in "sequential mode" - see Expert, 3.3.7.1.
Sequential Mode
-W
Thanks again!