RE: maven debugging frustrations

2023-12-22 Thread mark.yagnatinsky
There's nothing that special about MY stack trace... just run javac on a largish module with a tiny heap. (Our module was huge enough to fail with 800 megs, but there are plenty modules that will fail with 8 megs, let alone one meg.) Further, the exact stack trace is very sensitive to the exact

Re: maven debugging frustrations

2023-12-22 Thread Alexander Kriegisch
>> How can I can find out EXACTLY how maven invoked javac, so I can >> invoke it the same way? I think, somebody already mentioned earlier that you can just activate debug output in Maven. Then search for the line following "Command line options": $ mvn -X compile | grep --after-context 1

RE: maven debugging frustrations

2023-12-22 Thread mark.yagnatinsky
Okay, I think I got it. Here is the error I get when running with -J-Xmx800 The system is out of resources. Consult the following stack trace for details. java.lang.OutOfMemoryError: GC overhead limit exceeded -Original Message- From: mark.yagnatin...@barclays.com.INVALID Sent:

RE: maven debugging frustrations

2023-12-22 Thread mark.yagnatinsky
How can I can find out EXACTLY how maven invoked javac, so I can invoke it the same way? (While I await your response, I'll attempt to invoke it roughly the same way and see if that works.) -Original Message- From: Alexander Kriegisch Sent: Thursday, December 21, 2023 8:45 PM To: