Re: How can I tell what value of "maxmem" the maven-compiler-plugin is using by default?

2022-04-01 Thread Bernd Eckenfels
If you don’t provide the fork=true parameter then javac will be started inline and no heap settings are applicable. Beside that the debug (-X) output is correctly showing you the expanded values, if the property is not expanded it was not specified. Gruss Bernd -- http://bernd.eckenfels.net _

Re: How can I tell what value of "maxmem" the maven-compiler-plugin is using by default?

2022-04-01 Thread Benjamin Marwell
Yes, it's using the javac compilers default. It may differ depending on the JVM. OpenJ9, for example, will use up to 25% of your memory by default. Others may use something between 64M and 512M. Be aware that maxmem will only work if fork is set to true: https://maven.apache.org/plugins/maven-comp

RE: How can I tell what value of "maxmem" the maven-compiler-plugin is using by default?

2022-04-01 Thread KARR, DAVID
> -Original Message- > From: KARR, DAVID > Sent: Friday, April 1, 2022 11:03 AM > To: Maven Users List > Subject: How can I tell what value of "maxmem" the maven-compiler-plugin > is using by default? > > I noticed that we have one build that is trying to compile so many files > that it

How can I tell what value of "maxmem" the maven-compiler-plugin is using by default?

2022-04-01 Thread KARR, DAVID
I noticed that we have one build that is trying to compile so many files that it is running out of memory in the maven-compiler-plugin execution. I see that I can set the "maxmem" property in that plugin's configuration. What would be nice to know is what the default value is. I thought that