You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Normally, TempDir deletes the directory you made with it when you drop it. This crate uses a Lazy<TempDir> for its tests so that parallel access means the directory is initialized the moment it is needed. However, it is then held in a static TEMP_DIR which means it is simply fixed in memory for the lifetime of the program. This tends to result in the Drop implementation for TempDir not executing properly... accumulating gigabytes of test output shockingly quickly and filling up drives. Either pgx-tests or plrust need to learn how to clean up after themselves.
The text was updated successfully, but these errors were encountered:
Normally,
TempDir
deletes the directory you made with it when you drop it. This crate uses aLazy<TempDir>
for its tests so that parallel access means the directory is initialized the moment it is needed. However, it is then held in astatic TEMP_DIR
which means it is simply fixed in memory for the lifetime of the program. This tends to result in the Drop implementation for TempDir not executing properly... accumulating gigabytes of test output shockingly quickly and filling up drives. Eitherpgx-tests
orplrust
need to learn how to clean up after themselves.The text was updated successfully, but these errors were encountered: