[Pkg-haskell-maintainers] Bug#671925: Bug#671925: cabal update fails due to stack space overflow. Stack size can't be increased.

Joey Hess joeyh at debian.org
Wed May 23 14:07:04 UTC 2012


Shérab wrote:
> > and get some memory profiles.
> > http://book.realworldhaskell.org/read/profiling-and-optimization.html
> 
> Thanks for the usefullink.
> I'm including below cabal.prof
> I also tried with a 100M stack: the program does not return, I
> interrupted it after severalminutes...
> 
> If other memory profiles could help please do not hesitate to let me
> know.

> COST CENTRE MODULE                                   no.     entries  %time %alloc   %time %alloc
> 
> MAIN        MAIN                                     250           0  100.0  100.0   100.0  100.0
>  CAF        Main                                     499           0    0.0    0.0     0.0    0.0

Weird.. 100% used in MAIN but 0% in Main and everything else? 
Does not make sense to me. I'd go for the type profiling (+RTS -hy -p)

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20120523/c49d6efd/attachment.pgp>


More information about the Pkg-haskell-maintainers mailing list