:maddi-inspection-kotlin:test runs out of heap in a full maddi test run; exit 1 with no failing test
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 62/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- build-system, testing
Direzione di ricerca
Inizia da maddi-inspection-kotlin/build.gradle.kts, dove il task test imposta jvmArgs ma non maxHeapSize, e confrontalo con i task test dei moduli più pesanti. Esegui ./gradlew :maddi-inspection-kotlin:test misurando il picco di heap della JVM di test per scegliere un valore. È completato quando il task test del modulo imposta un maxHeapSize esplicito ricavato da questa misurazione e un ./gradlew --continue test completo non perde più i risultati del modulo per esaurimento dell'heap.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happens
A full ./gradlew --continue test of maddi can exit 1 with no failing test in the reports: the test JVM of :maddi-inspection-kotlin runs out of heap, so that module writes no results and the totals simply come out lower.
Execution failed for task ':maddi-inspection-kotlin:test' (registered by plugin 'org.gradle.jvm-test-suite').
> Test process encountered an unexpected problem.
> Could not complete execution for Gradle Test Executor 21.
> Java heap space
Seen twice on laser1 on 2026-10-15 (lab run --mb 16g, full maddi then maddi-mod test): once at 2638 tests, once at 2648 (maddi at 444789a5b). Rerun alone, :maddi-inspection-kotlin:test passes: 30 tests, 0 failures.
Why it matters
A reader who sums the test reports sees "0 failures" and a green-looking run; only the exit code and the lower test count tell otherwise.
Likely fix
maddi-inspection-kotlin/build.gradle.kts sets jvmArgs but no maxHeapSize, so the test JVM gets Gradle's default (512m) while K2 and javac share it. Give the test task an explicit maxHeapSize, as the heavier modules do, sized from a measured peak. Not verified which test reaches the limit.
- Lingua principale
- Java
- Stelle
- 1
- Fork
- 1
- Merge medio
- 2h 22m
- PR unite (30g)
- 4
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di CodeLaser/maddi
-
build/ci good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
C# printer: an inner class of a generic class needs the outer type's arguments (Outer<A>.Inner)Apertafront-end:csharp
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 10/100
-
Java → C# translation: an idiomatic C# printer driven by the modification and nullability analysesApertaenhancement extension front-end:csharp
Difficoltà 5/5 Più di una settimana Idoneità per principianti 8/100
-
enhancement extension front-end:csharp
Difficoltà 5/5 Più di una settimana Idoneità per principianti 8/100
Tutte le issue di CodeLaser/maddi
Issue simili
-
Triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
MinecraftForge/MinecraftForge#10902 · 1 commento ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
refinedmods/refinedstorage2#1421 ·
-
StepExamBenchmarkTest runs a loop and prints a timing but asserts nothingForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertajules
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
open-learning-exchange/myplanet#18199 · 1 commento ·
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
Scheme-less stream URLs throw NullPointerException instead of URISyntaxExceptionForse già presa @blihio l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
pedroSG94/RootEncoder#2218 ·
I maintainer di solito rispondono entro 3 giorni