brent
06/25/2021, 1:34 PM--classpath
param to enable type resolution my execution time goes from a few minutes to ∞ and eventually an OOM crash.gammax
06/25/2021, 2:01 PMbrent
06/25/2021, 2:07 PMgammax
06/25/2021, 3:22 PMdetektMain
and other type-resolution enabled tasks running fine on your codebase?brent
06/25/2021, 4:23 PM@RequiresTypeResolution
are being report correctly (and added to baseline correctly) with our current gradle setup. Just can't figure out or find an example of a CLI execution that uses the --classpath
param.android-stubs-src.jar
works if you give the process enough memory (-Xmx16g
) but it still took 2hrs to execute vs ~8 minutes without type resolution enabled. Is this expected?gammax
06/28/2021, 4:35 PMIs this expected?Nope is not imho. Have you compared with your Gradle execution time?
brent
06/28/2021, 8:00 PM2xlarge+
), giving the detekt java process 36g of RAML, execution without type resolution is <1min. And WITH type resolution is ~46minutes. So we're going to stick with the gradle plugin.