Search code examples
javajakarta-eeout-of-memoryweblogicheap-memory

Setting Java Heap Space in Weblogic Server


I have my Java EE web application deployed and running in Weblogic server.

If I want to set min and max arguments like this, Xms100m Xmx500m, where should I change this?

Whether in Weblogic 10.0MP server (if so, where) or while building the application in IDE?


Solution

  • For Admin Server this can be done in $domain_home/bin/setDomainEnv.sh (most likely corresponding bat if you use Windows) script, for managed servers via Weblogic console.