Setting Java Heap Space in Weblogic Server

heap-memory, jakarta-ee, java, out-of-memory, weblogic

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.

Problem

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?

Original source