Skip to content
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

encoding/gob: TestLargeSlice uses too much virtual memory for plan9-arm #60284

Closed
millerresearch opened this issue May 18, 2023 · 1 comment
Closed
Assignees
Labels

Comments

@millerresearch
Copy link
Contributor

The test encoding/gob.TestLargeSlice runs parallel encode/decode tests with multiple copies of large (tens of megabytes) slices. This strains the capacity of user-space virtual memory (1GB) on the plan9-arm builders, resulting in frequent allocation failures like this:

    runtime: out of memory: cannot allocate 41943040-byte block (884375552 in use)
    fatal error: out of memory

Example logs:
https://build.golang.org/log/7e84d1562761f1b26b0416f07cb0c7de8e173a74
https://build.golang.org/log/87a50b6d8b81a69bcde6535f156d8deae70ef38f

It might be possible to tweak the test to reduce memory pressure, but it would be simpler just to skip the test on plan9-arm.

@gopherbot
Copy link

Change https://go.dev/cl/496138 mentions this issue: encoding/gob: skip TestLargeSlice on plan9-arm builders

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants