2 Replies Latest reply on Jan 4, 2006 8:38 AM by toto toto

    Lazy Loading

    Prescott T Newbie

      Hi,

      I am experiencing performance problems with jBPM/Hibernate under heavy loads (100 concurrent requests accessing 100 process instances). I end up with out of memory errors.

      I suspect 2 things - lazy loading or 2nd level caching. For now, I wish to investigate lazy loading.

      in this post, http://www.jboss.com/index.html?module=bb&op=viewtopic&t=68807 tom says that we can't do lazy loading because of some reason which I can't really understand (yet).

      In this post http://www.jboss.com/index.html?module=bb&op=viewtopic&t=72897 someone actually changed everything to lazy loading and reported huge performance gains.

      Anyone care to share on possible side-effects and reasons that jBPM came with default lazy=false?

      As many pple rightly pointed out, using customised queries for huge recordsets may be more suited, nonetheless I need to seek some assurance that jBPM is robust enough without me having to rewrite all my queries.

      Thanks for the attention. Appreciate any comments.