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

OOM on Travis for store-0.4.1 on GHC 7.10.3 while building Stack #106

Open
Blaisorblade opened this issue May 22, 2017 · 2 comments
Open

Comments

@Blaisorblade
Copy link

In the past few days I've noticed a few failures like the following, mentioning OOM
https://travis-ci.org/commercialhaskell/stack/jobs/234558520#L321-L324 (https://travis-ci.org/commercialhaskell/stack/jobs/234737983 was also one, but I had to restart it).

Building stack took lots of memory in other situations. Can anything be done to improve the situation? (I'd be open to workarounds on the stack/Travis side).

 --  While building package store-0.4.1 using:
      /home/travis/.stack/setup-exe-cache/x86_64-linux/Cabal-simple_mPHDZzAJ_1.22.5.0_ghc-7.10.3 --builddir=.stack-work/dist/x86_64-linux/Cabal-1.22.5.0 build --ghc-options " -ddump-hi -ddump-to-file"
    Process exited with code: ExitFailure (-9) (THIS MAY INDICATE OUT OF MEMORY)
    Logs have been written to: /home/travis/build/commercialhaskell/stack/.stack-work/logs/store-0.4.1.log

This one fails on this file:

    [ 9 of 11] Compiling Data.Store.Streaming ( src/Data/Store/Streaming.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Data/Store/Streaming.o )
@Blaisorblade
Copy link
Author

Other failure in https://travis-ci.org/commercialhaskell/stack/jobs/234811762, it seems on Data.Store.TypeHash.Internal.

@mgsloan
Copy link
Owner

mgsloan commented May 30, 2017

Version 0.4.3.1 has quite a bit fewer uses of INLINE, which will likely help with that issue.

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

No branches or pull requests

2 participants