Skip to content

x/playground: Game Of Life play example fails to compile on golang.org due to out of memory error #28283

@epeay

Description

@epeay

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

1.11.1 as reported by the server.

Does this issue reproduce with the latest release?

Not relevant. Server-side issue.

What operating system and processor architecture are you using (go env)?

Not relevant. Server-side issue.

What did you do?

https://play.golang.org/p/jibIOKi7wqW

What did you expect to see?

The game of life

What did you see instead?

go tool compile: exit status 2
fatal error: runtime: out of memory

The example does run (I tested on 1.10.3 locally). It just doesn't run on the golang.org site, likely due to a restriction on the back-end environment that's doing the compilation.

If the environment is what it's supposed to be (whatever that is), and the example just needs to be tweaked to use less memory, I'd be interested in taking care of that and sending a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions