[Haskell-cafe] Memory usage of cabal install
Krzysztof Kościuszkiewicz
k.kosciuszkiewicz at gmail.com
Mon Apr 27 10:39:07 EDT 2009
On Mon, Apr 27, 2009 at 02:10:28PM +0100, Duncan Coutts wrote:
> > [...]
> > Increasing verbosity does not help, memory consumption goes up after the
> > message "Resolving dependencies..." shows up.
> >
> > I use ghc 6.8.2 and cabal-install version 0.5.1 using version 1.4.0.1 of
> > the Cabal library.
>
> The only instance of this behaviour that I know of involves using that
> version of cabal-install with ghc-6.10.1.
>
> http://haskell.org/cabal/FAQ.html#cabal-goes-into-an-infinite-loop--runs-out-of-memory
>
> [...]
>
> Are you absolutely sure you are using ghc 6.8 and not 6.10?
Yes:
> kokr at copper:~$ ghc -V ; cabal -V
> The Glorious Glasgow Haskell Compilation System, version 6.8.2
> cabal-install version 0.5.1
> using version 1.4.0.1 of the Cabal library
> > Is there a workaround? I would like to avoid fetching & building packages
> > manually.
>
> If you're using ghc 6.10 then the solution is to update to cabal-install
> 0.6.x. If you're quite sure you are using 6.8 then the bug is unknown.
> It may still be worth trying upgrading to cabal-install 0.6.x.
I'll try that and report success/failure.
Thanks,
--
Krzysztof Kościuszkiewicz
"Simplicity is the ultimate sophistication" -- Leonardo da Vinci
More information about the Haskell-Cafe
mailing list