Re: Increased memory usage with GHC 7.10.1

2015-05-01 Thread Michal Terepeta
On Fri, May 1, 2015 at 5:05 PM Simon Peyton Jones wrote: > It would be amazingly helpful if someone (anyone) could diagnose a bit. > > > > It may be a bug in GHC but it may also be a bug in the pragmas in a > library. If someone can produce evidence for the former, I’ll gladly look > at it. >

RE: Increased memory usage with GHC 7.10.1

2015-05-01 Thread Simon Peyton Jones
It would be amazingly helpful if someone (anyone) could diagnose a bit. It may be a bug in GHC but it may also be a bug in the pragmas in a library. If someone can produce evidence for the former, I’ll gladly look at it. Simon From: Greg Weber [mailto:g...@gregweber.info] Sent: 01 May 2015 16

Re: Increased memory usage with GHC 7.10.1

2015-05-01 Thread Greg Weber
We have observed issues with compile-time inlining taking much longer in newer versions of GHC in some cases https://github.com/larskuhtz/toCaseFoldBuildTimes This particular issue was reported to the text repo: https://github.com/bos/text/issues/116 On Fri, May 1, 2015 at 7:49 AM, Simon Peyton Jo

RE: Increased memory usage with GHC 7.10.1

2015-05-01 Thread Simon Peyton Jones
It would be great if someone could · create a ticket for Paolio · investigate what is happening This smaller test case uses Repa, so it’s not clear that GHC is doing anything wrong. Maybe repa is inlining too much? We need insight. Thanks SImon From: Glasgow-haskell-users [ma

Re: Increased memory usage with GHC 7.10.1

2015-05-01 Thread Paolino
here is another file , which is small, which cannot be compiled within 4GB memory. https://raw.githubusercontent.com/benl23x5/gloss/master/gloss-examples/raster/Fluid/src-repa/Stage/Linear.hs I'd just want to add that this problem is a nasty one if one doesn't set the max heap: a remote machine

Re: Increased memory usage with GHC 7.10.1

2015-05-01 Thread George Colpitts
Should we recommend that all library developers compile their libraries with a max heap of 4G (to pick an arbitrary number) so that we can catch some of these issues earlier? On Fri, May 1, 2015 at 5:42 AM, Paolino wrote: > Hello, I'm using ghc 7.10.1 to compile OpenGLRaw which is now impossible

Re: Increased memory usage with GHC 7.10.1

2015-05-01 Thread Paolino
I did the worst and splitted the file. It worked. Still waiting ghc trac to send me the verification mails paolino 2015-05-01 14:22 GMT+02:00 Paolino : > not that lucky, as it's btrfs which doesn't allow swapon :-/ > btw, thanks for the hint > > paolino > > 2015-05-01 14:00 GMT+02:00 Carter Sch

Re: Increased memory usage with GHC 7.10.1

2015-05-01 Thread Paolino
not that lucky, as it's btrfs which doesn't allow swapon :-/ btw, thanks for the hint paolino 2015-05-01 14:00 GMT+02:00 Carter Schonwald : > as a near term mitigation, could you enable having swap files on your VM ? > > On Fri, May 1, 2015 at 5:00 AM, Paolino wrote: > >> Ghc trac is not sendin

Re: Increased memory usage with GHC 7.10.1

2015-05-01 Thread Carter Schonwald
as a near term mitigation, could you enable having swap files on your VM ? On Fri, May 1, 2015 at 5:00 AM, Paolino wrote: > Ghc trac is not sending the verification emails and won't let me file a > bug without. As soon as this gets fixed I will. > > Thanks > > paolino > > 2015-05-01 10:44 GMT+02

Re: Increased memory usage with GHC 7.10.1

2015-05-01 Thread Paolino
Ghc trac is not sending the verification emails and won't let me file a bug without. As soon as this gets fixed I will. Thanks paolino 2015-05-01 10:44 GMT+02:00 Simon Peyton Jones : > Can you open a ticket, please? And put as much data as you can. Using > `-dshow-passes` (both for 7.10 and p

RE: Increased memory usage with GHC 7.10.1

2015-05-01 Thread Simon Peyton Jones
Can you open a ticket, please? And put as much data as you can. Using `-dshow-passes` (both for 7.10 and prior versions) and showing the output would be helpful. Simon From: Glasgow-haskell-users [mailto:glasgow-haskell-users-boun...@haskell.org] On Behalf Of Paolino Sent: 01 May 2015 09:42 T

Re: Increased memory usage with GHC 7.10.1

2015-05-01 Thread Paolino
Hello, I'm using ghc 7.10.1 to compile OpenGLRaw which is now impossible with -O1 and -O2 due to "ghc : out of memory error" on a 4GB linux host. The file making memory explode is Graphics.Rendering.OpenGL.Raw.Functions