-
Notifications
You must be signed in to change notification settings - Fork 18k
runtime/trace: running out of memory on the Plan 9 builder #12032
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
CL https://golang.org/cl/13077 mentions this issue. |
Here are the garbage collector traces:
|
/cc @dvyukov for trace and @aclements for reading the GC tealeaves |
@0intro please also print runtime.MemStats before and after the test. Is there something similar to top to sample real memory consumption? 215MB reported by gctrace does not look too big. |
@0intro, just checking, the gctrace you posted is with current master? It looks like this may be why it's running out of memory:
The heap gets up to 838 MB here, and well over the heap goal. On my machine these first few cycles never get over 5 MB of heap. |
@aclements Yes, the gctrace I posted is with current master. In my side, the first few cycles never got over 5 MB of heap on Linux. Also, I noticed the GC runs much more frequently on Linux than on Plan 9. @dvyukov I don't know any equivalent of top(1), but I could write a program to sample real memory usage. Beginning of TestTraceStress:
End of TestTraceStress:
|
It seems there is something wrong with GC, HeapSys is more than a gig. |
Updates golang/go#12032. Change-Id: I7239115b2e0e55f7fc1e5cdf24aa7e314f3bddac Reviewed-on: https://go-review.googlesource.com/13077 Reviewed-by: Andrew Gerrand <[email protected]>
This also appears to be the cause of failures on the openbsd/arm builder - of course as soon as I run the trace tests with GODEBUG=gctrace=1 they no longer fail... |
Need to rollback https://go-review.googlesource.com/#/c/15242 once this is fixed. |
CL https://golang.org/cl/15242 mentions this issue. |
Reduce allocation to avoid running out of memory on the openbsd/arm builder, until issue/12032 is resolved. Update issue #12032 Change-Id: Ibd513829ffdbd0db6cd86a0a5409934336131156 Reviewed-on: https://go-review.googlesource.com/15242 Reviewed-by: Dmitry Vyukov <[email protected]>
We don't make releases for Plan9, so removing the Go1.6 label. |
This hasn't happened since August 4th (last failure was commit 3cfc34a) and it was happening regularly before that, so I think this is no longer an issue. Please reopen if that's not the case.
|
Since July 22, the runtime/trace tests are regularly failing on the Plan 9 builder.
http://build.golang.org/log/15f2a83855da9c8c7f55b590a285dc483f0fb986
It seems the Plan 9 builder runs out of memory when running the runtime/trace tests.
Moving the Plan 9 builder from a n1-highcpu-2 (1.8 GB) to a n1-highcpu-4 (3.8 GB)
machine seems to work around the issue.
We should figure out why the runtime/trace tests are using so much memory on Plan 9.
The text was updated successfully, but these errors were encountered: