Skip to content

CI: test_linux(jvmTest) fails intermittently with OutOfMemoryError: Java heap space #4112

@OliverO2

Description

@OliverO2

Kotest 5.9.1/master at 846f0a6

In the logs, we occasionally see

Warning: [107.675s][warning][gc,alloc] ClassGraph-worker-306: Retried waiting for GCLocker too often allocating 1026 words

followed by

> Task :kotest-runner:kotest-runner-junit5:jvmTest

com.sksamuel.kotest.runner.junit5.StringSpecEngineKitTest[jvm]
Test exception in beforeSpec override[jvm] FAILED
org.junit.platform.commons.JUnitException: TestEngine with ID 'kotest' failed to discover tests
Caused by: org.junit.platform.commons.JUnitException: TestEngine with ID 'kotest' failed to discover tests
Caused by: io.kotest.engine.config.ConfigurationException: io.github.classgraph.ClassGraphException: Uncaught exception during scan
Caused by: io.github.classgraph.ClassGraphException: Uncaught exception during scan
Caused by: java.lang.OutOfMemoryError: Java heap space

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Issues that report a problem or error in the code.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions