You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While running stack install —dry-run lhs2tex on a rather fresh stack install, I noticed: stack using up to ~700 MB RAM, between Updating package index hackage (mirrored at <... S3 URL ...>) and Populated index cache.. RAM usage seemed to be growing linearly with time.
This might be relevant for small machines (say, ARM targets): while installing lhs2tex, surprisingly, GHC (8.0.2) seems to have used less RAM.
That does sound like a problem. I'm guessing memory fragmentation from usage of bytestring, but it's just a guess. I think it's worth investigating/reporting
This was with Stack 1.5.1 installed from the website (through curl ... | sh) on a 2008 iMac with 2GB RAM, OS X 10.10.
The text was updated successfully, but these errors were encountered:
This improves on the previous warning hack to keep a cache of parsed
GenericPackageDescriptions, and avoid rerunning hpack.
There are some TODOs added in this commit. One further point of concern:
should we opt-out of caching the results of parsing index files? I'm
imagining that when loading a snapshot, this may result in a lot of
memory usage. (Then again, this may already be the case, see #3586.)
It's still on my radar, but I'm planning on some Stackage infrastructure improvements before I hit this. If someone else wants to take a stab, go for it.
While running
stack install —dry-run lhs2tex
on a rather fresh stack install, I noticed:stack
using up to ~700 MB RAM, betweenUpdating package index hackage (mirrored at <... S3 URL ...>)
andPopulated index cache.
. RAM usage seemed to be growing linearly with time.This might be relevant for small machines (say, ARM targets): while installing
lhs2tex
, surprisingly, GHC (8.0.2) seems to have used less RAM.@snoyberg answered:
This was with Stack 1.5.1 installed from the website (through
curl ... | sh
) on a 2008 iMac with 2GB RAM, OS X 10.10.The text was updated successfully, but these errors were encountered: