Oh, I am already digging into heap dumps. :) I discovered the memory dump bundle that ships with Sling and we configured it in our test lab. Good stuff.
-----Original Message----- From: Robert Munteanu [mailto:[email protected]] Sent: Thursday, November 19, 2015 8:50 AM To: [email protected] Subject: Re: Memory usage Hi Kevin, On Thu, Nov 19, 2015 at 3:45 PM, Roll, Kevin <[email protected]> wrote: > We have encountered OutOfMemoryErrors on our Sling server under heavy usage. > Unfortunately we need to run on old 32-bit hardware in the field that does > not have a lot of memory. I am disabling Lucene because our app is focused on > images, not text, and Lucene seems to consume a lot of memory. Are there any > other things I should consider that would make a substantial difference in > Sling's memory consumption? Bundles I could remove, settings I could tweak, > etc? Thanks! I suggest you start with a heap dump and see what takes up the most memory. In case you don't know which tool to start with, I find the Eclipse Memory Analyser [1] pretty good. Robert [1]: http://www.eclipse.org/mat/
