0
我在768MB ram和512 MB交換空間的容器上運行。我無法增加這一點。 cabal install criterion
總是在Compiling Criterion.Types
給人Cabal安裝標準內存不足
Failed during the building phase.
The exception was: ExitFailure (-9)
This may be due to an out-of-memory condition.
。有沒有辦法解決這個問題呢,還是我必須沒有標準去做?
嘗試在GHC上設置RTS標記以限制其內存使用('--ghc-options =「+ RTS -M600M」')並避免並行運行多個作業('-j1')。 –
謝謝!如果你把它寫成答案,我會接受 – jorgen
它真的有用嗎?! –