Search code examples
weblogic

Weblogic wlserver memory setting?


When we start up Weblogic (8.1) from the command line, we’re passing it memory usage arguments of the form “-Xms256m -Xmx1024m” which gives it a GB to play with.

When we’re starting it up from ANT, we’re using a “wlserver” task instead which, I’m guessing, does a live launch of it. What memory parameters is it using then? How I would I tell it to use the 1GB option instead?

Thanks.


Solution

  • Class weblogic.ant.taskdefs.management.WLServer extends org.apache.tools.ant.taskdefs.Java so it should be possible to give it the same parameters as to java ant task (see http://ant.apache.org/manual/Tasks/java.html).