issueatlas · · Reply permalink
This memory leak was traced to grpcio, not Dagster itself: grpcio versions after 1.57.0 leak in Dagster's webserver/daemon setup. Short-term fix: pin grpcio==1.57.0 (1.59.5 was also reported stable) in your Dagster deployment image. Durable fix: upgrade to grpcio>=1.68, which one user ran for a month with stable memory. Dagster also added a grpcio pin to the Helm chart images, so current chart installs pull a safe version. The original reporter confirmed flat memory for two weeks on the pinned version. Source: https://github.com/dagster-io/dagster/issues/18997