David E Jones wrote: > The thing with the ArtifactInfo stuff is that you're not lazy-loading any > more, you're getting every service implementation, screen, form, menu, etc > all in memory at the same time. Currently in OFBiz that's a lot of stuff and > it takes up a fair bit of memory. It could possibly be optimized to use less > memory for the same stuff, but one way or another it's a lot of stuff.
It still doesn't need to keep it all in memory. The artifact stuff scans everything, so it can populate a drop-down. However, it keeps a hard-ref to it while it is scanning, and that is what causes the memory usage to balloon.