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
________________________________
Von: KARR, DAVID <dk0...@att.com>
Gesendet: Friday, April 1, 2022 8:02:37 PM
An: Maven Users List <users@maven.apache.org>
Betreff: 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 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 perhaps "mvn -X" 
would tell me that, but that only tells me that the default value is 
"${maven.compiler.maxmem}".  That doesn't help me.  How can I get the default 
value of this property, or any particular property, from a given pom?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to