On 22.12.18 20:17, Dhaval Jaiswal wrote: > System has allocated all mentioned RAM. > > I assume 13 would be fine.
Adding to John's question, what I forgot earlier: Another rule of thumb is to identify the *minimum* amount of memory that the application can run with, then add a bit of headroom. Typically there's no need to go with a humongous heap if garbage collection has a chance to free it all up quickly. Memory in webappliations typically tends to be largely short-lived, and (especially) the young generation GC is typically extremely quick. You want it to rather run often (e.g. through an imposed memory limit) than rarely (due to a too large heapspace). Olaf --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org