I've started getting with the last couple (5.5.4 and 5.5.5) versions of kotest.
Copy code
[4.128s][warning][gc,alloc] ClassGraph-worker-16: Retried waiting for GCLocker too often allocating 1026 words
UnknownClass.Kotest > UnknownClass.initializationError FAILED
org.junit.platform.commons.JUnitException at EngineExecutionOrchestrator.java:113
Caused by: io.kotest.engine.config.ConfigurationException at ConfigManager.kt:29
Caused by: io.github.classgraph.ClassGraphException at ClassGraph.java:1606
Caused by: java.lang.OutOfMemoryError at NestedJarHandler.java:654
UnknownClass.Kotest FAILED
If I keep re-running it eventually works. Is there a kotest leak? Or am I missing some kotest setting or is there something else I should be modifying? thx
e
Emil Kantis
02/08/2023, 6:13 PM
Which platform, build tool etc?
b
Brent Beardsley
02/08/2023, 6:14 PM
I'm on a mac but it also happens on Github Actions (all using gradle)
r
Rob Elliot
02/08/2023, 7:16 PM
Running out of memory scanning your classpath to find tests by the look of it - I can imagine that might be quite memory intensive, depending on how big it is.