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
When running wire gen on our project, the Wire process experiences uncontrolled memory growth (exceeding 80GB), eventually triggering OOM termination. This occurs during dependency graph analysis/code generation, making Wire unusable for larger projects.
Here is the pprof file when using wire. profile.pb.gz
To Reproduce
Run go build -gcflags="all=-N -l" -o wire_debug ./cmd/wire
Switch to the project directory where I need to generate code (assuming it is business_dir)
Run cd ../business_dir
Run ../wire/wire_debug (with Go 1.23.9 and Wire v0.6.0)