0

What are the default values for javac parameters memoryInitialSize and memoryMaximumSize? Does it take these values from an env/os property or setting?

<javac 
  srcdir="@{srcdir}" 
  destdir="@{destdir}"
  includeantruntime="@{includeantruntime}"
  debug="@{debug}" 
  deprecation="@{deprecation}" 
  target="@{target}"
  source="@{target}"
  fork="@{fork}" 
  executable="@{executable}"
  memoryInitialSize="@{memoryInitialSize}"
  memoryMaximumSize="@{memoryMaximumSize}">
  <compilerarg compiler="${build.compiler}" line="${build.compiler.args}"/>
  <javac-elements/>
</javac>
szxnyc
  • 2,235
  • 5
  • 30
  • 44

1 Answers1

2

The documentation says, that ant uses the standard VM memory settings if javac runs externally. As dkatzel points out in his comment, those VM setting are discussed here.

Community
  • 1
  • 1
John
  • 888
  • 6
  • 23