本文整理了Java中org.apache.tools.ant.taskdefs.Javac.setMemoryMaximumSize()
方法的一些代码示例,展示了Javac.setMemoryMaximumSize()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Javac.setMemoryMaximumSize()
方法的具体详情如下:
包路径:org.apache.tools.ant.taskdefs.Javac
类名称:Javac
方法名:setMemoryMaximumSize
[英]The maximum size of the memory for the underlying VM if javac is run externally; ignored otherwise. Defaults to the standard VM memory setting. (Examples: 83886080, 81920k, or 80m)
[中]如果javac在外部运行,则底层VM的最大内存大小;否则就被忽略了。默认为标准VM内存设置。(示例:83886080、8192000或80m)
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
javac.setSrcdir(new Path(project, srcgendir.getAbsolutePath()));
if (memoryInitialSize != null) javac.setMemoryInitialSize(memoryInitialSize);
if (memoryMaximumSize != null) javac.setMemoryMaximumSize(memoryMaximumSize);
javac.setOptimize(optimize);
javac.setVerbose(verbose);
代码示例来源:origin: org.apache.xmlbeans/com.springsource.org.apache.xmlbeans
javac.setSrcdir(new Path(project, srcgendir.getAbsolutePath()));
if (memoryInitialSize != null) javac.setMemoryInitialSize(memoryInitialSize);
if (memoryMaximumSize != null) javac.setMemoryMaximumSize(memoryMaximumSize);
javac.setOptimize(optimize);
javac.setVerbose(verbose);
代码示例来源:origin: com.github.pjfanning/xmlbeans
javac.setSrcdir(new Path(project, srcgendir.getAbsolutePath()));
if (memoryInitialSize != null) javac.setMemoryInitialSize(memoryInitialSize);
if (memoryMaximumSize != null) javac.setMemoryMaximumSize(memoryMaximumSize);
javac.setOptimize(optimize);
javac.setVerbose(verbose);
内容来源于网络,如有侵权,请联系作者删除!