Closed
Description
When running psc-package build
I sometimes get the error psc-package: failed to create OS thread: Cannot allocate memory
. The command still seems to make progress, so after running it a couple times it succeeds. I don't think I'm actually running out of memory -- I have a few gigs free when I run the command and according to xmobar it doesn't get used up.
Version details (exhaustive setup is here):
$ psc-package --version
0.2.0
$ purs --version
0.11.6
Example error occurances:
$ psc-package build
Updating 45 packages...
Updating assert
Updating arraybuffer-types
Updating arrays
Updating console
Updating control
Updating distributive
Updating datetime
Updating bifunctors
Updating eff
Updating dom
Updating either
Updating foldable-traversable
Updating enums
Updating exceptions
Updating generics
Updating functions
Updating gen
Updating identity
Updating globals
Updating foreign
Updating integers
Updating invariant
Updating lazy
Updating js-date
Updating maps
Updating lists
Updating maybe
Updating newtype
Updating media-types
Updating nonempty
Updating math
Updating monoid
Updating partial
Updating nullable
Updating prelude
Updating proxy
Updating psci-support
Updating strings
Updating st
Updating tailrec
Updating tuples
Updating transformers
Updating type-equality
Updating unfoldable
Updating unsafe-coerce
psc-package: failed to create OS thread: Cannot allocate memory
$ psc-package build
Updating 45 packages...
Updating lazy
Updating lists
Updating math
Updating maps
Updating media-types
Updating maybe
Updating monoid
Updating nonempty
Updating newtype
Updating nullable
Updating partial
Updating prelude
Updating proxy
Updating psci-support
Updating strings
Updating tailrec
Updating transformers
Updating tuples
Updating type-equality
Updating st
Updating unsafe-coerce
Updating unfoldable
psc-package: failed to create OS thread: Cannot allocate memory
$ psc-package build
<succeeds this time>
Metadata
Metadata
Assignees
Labels
No labels