flutter / flutter/devtools

Look into memory bloat after running flutter test

Abierto
#4,111 3 comentarios 0 reacciones 0 asignados Ver en GitHub
P3
Lenguaje dominante
Dart
Estrellas
1.7k
Forks
404
Merge medio
6 d 17 h
PR fusionados (30 d)
18

Descripción

While running
`flutter test test/`
from `packages/devtools_app`
about 40 times, and realized that my cloudtop was running out of memory.
I noticed that `devtools/packages/devtools_app/test/fixtures` had grown to 34GB

it may be worth exploring why that memory is being left behind. Kenzie had the initial idea that perhaps some test fixtures aren't properly being torn down

It looks like running `flutter clean` deletes the `.dart_tool` directory, which is the main culprit for where these files are left over.
So finding a way to document or have that happen automatically may be helpful


Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.