RE: GHC 6.10.2 consuming lots of memory while compiling - help?

2009-08-06 Thread Simon Peyton-Jones
Justin Presumably DeliveryManagementQueries uses TH to generate lots of glop? *** Desugar: Result size = 616,969 That's a big program! What kind of glop is it? Maybe it's the same kind of thing as one of these? http://hackage.haskell.org/trac/ghc/query?status=new&status=assigned&status=re

Re: GHC 6.10.2 consuming lots of memory while compiling - help?

2009-07-27 Thread Simon Marlow
On 24/07/2009 23:01, Justin Bailey wrote: On Fri, Jul 24, 2009 at 2:51 PM, Don Stewart wrote: jgbailey: On Fri, Jul 24, 2009 at 2:02 PM, Don Stewart wrote: Oh, and I note you're not using -O or -O2 either? -- Don This is a compile time problem, wouldn't -O make it worse? Almost certain

Re: GHC 6.10.2 consuming lots of memory while compiling - help?

2009-07-24 Thread Justin Bailey
Ironically adding -O does reduce the compile time in this case. I shouldn't have been so quick to reply! On Fri, Jul 24, 2009 at 2:51 PM, Don Stewart wrote: > jgbailey: >> On Fri, Jul 24, 2009 at 2:02 PM, Don Stewart wrote: >> > Oh, and I note you're not using -O or -O2 either? >> > >> > -- Don >>

Re: GHC 6.10.2 consuming lots of memory while compiling - help?

2009-07-24 Thread Don Stewart
jgbailey: > On Fri, Jul 24, 2009 at 2:02 PM, Don Stewart wrote: > > Oh, and I note you're not using -O or -O2 either? > > > > -- Don > > > > This is a compile time problem, wouldn't -O make it worse? Almost certainly! ___ Glasgow-haskell-users mailing l

Re: GHC 6.10.2 consuming lots of memory while compiling - help?

2009-07-24 Thread Justin Bailey
On Fri, Jul 24, 2009 at 2:02 PM, Don Stewart wrote: > Oh, and I note you're not using -O or -O2 either? > > -- Don > This is a compile time problem, wouldn't -O make it worse? Justin ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.o

Re: GHC 6.10.2 consuming lots of memory while compiling - help?

2009-07-24 Thread Don Stewart
jgbailey: > I apologize in advance for the vagueness of my report here - it's one > of those situations I'm not sure how to cut it down to size yet. > > I have a module that uses HaskellDB and Template Haskell together. The > module itself depends on 23 other modules, each of which give a type > d