Reducing memory consumption of immutant uberwars in Wildfly

33 views
Skip to first unread message

Webdev Tory Anderson

unread,
Dec 7, 2017, 10:37:05 AM12/7/17
to Immutant
I have a pretty vanilla wildfly setup that hosts 6-10 Immutant uberwars. One day I added another app to the collection of stand-alones and suddenly I was playing whack-a-mole with random apps in the setup failing with memory errors. The first fix, obviously, was to increase the memory available to Wildfly and the JVM. However, are there other ways of making the memory usage more efficient? For example, right now I am just sending up `lein immutant war` uberwar archives and this ignores that most of these apps share more than a few dependencies in common. Is upping the actual ram the only real solution here?
Reply all
Reply to author
Forward
0 new messages