Re: cabal bench implemented

2011-10-26 Thread Bas van Dijk
On 26 October 2011 02:54, Johan Tibell johan.tib...@gmail.com wrote: My bad, 'cabal bench' now works. Indeed it does. Thanks! Bas ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

Re: hackage-server memory requirements

2011-10-26 Thread Max Bolingbroke
On 25 October 2011 23:18, Bas van Dijk v.dijk@gmail.com wrote: What kind[1] of heap profile would be most useful. (In my experience -hy or -hd are the most informative). Either of those sound reasonable. I'd like to try do this out myself, but I can't mirror Hackage without hitting the

Re: hackage-server memory requirements

2011-10-26 Thread Bas van Dijk
On 26 October 2011 00:18, Bas van Dijk v.dijk@gmail.com wrote: I could run a sync on my 4GB laptop in the background tomorrow and do a heap profile. I do expect to kill it half way since I also have to get other stuff done. I did a quick heap profile using -hy:

Re: hackage-server memory requirements

2011-10-26 Thread Max Bolingbroke
On 26 October 2011 13:46, Bas van Dijk v.dijk@gmail.com wrote: According to the profile most space is used by ARR_WORDS (which is the internal name for a ByteArray# if I remember correctly). Interesting. There are a lot of ByteStrings in use in the server, so candidates for a leak might be:

Re: hackage-server memory requirements

2011-10-26 Thread Bas van Dijk
On 26 October 2011 19:36, Max Bolingbroke batterseapo...@hotmail.com wrote: So this is almost pure speculation, but perhaps adding (BS.length pkgStr `seq`) just before the liftIO on Mirror.hs:122 would reduce the memory usage significantly. Worth a try? I made the change but after syncing for

patch applied (cabal): Bump major version to 1.13

2011-10-26 Thread Duncan Coutts
Wed Oct 26 13:43:46 PDT 2011 Duncan Coutts dun...@community.haskell.org * Bump major version to 1.13 Since 1.12 got released with ghc-7.2.x M ./Cabal/Cabal.cabal -1 +1 M ./Cabal/Makefile -1 +1 M ./cabal-install/cabal-install.cabal -2 +2 View patch online: