<div dir="ltr"><div><div>there SHOULD be a 32bit 7.8.4 build available somewhere for windows, and if not , thats a real problem! I'm gonna shift this thread to ghc-devs, because that *should* get addressed<br><br></div>@ghc-devs, how can we help this user get ahold of a 32bit windows 7.8.4 build? (eg, why do we not have one available yet?)<br><br></div>-Carter<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 9, 2015 at 4:13 AM, Kees Bleijenberg <span dir="ltr"><<a href="mailto:K.Bleijenberg@lijbrandt.nl" target="_blank">K.Bleijenberg@lijbrandt.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="NL"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks for your answer. <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I also use ghc to create 32 bits dll’s. 7.8.4 is 64 bits GHC and can’t create 32 bits dll’s (?). This means I have to install 7.8.3 and 7.8.4 on the same Windows machine. Is this possible? <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Kees<u></u><u></u></span></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Van:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Carter Schonwald [mailto:<a href="mailto:carter.schonwald@gmail.com" target="_blank">carter.schonwald@gmail.com</a>] <br><b>Verzonden:</b> zaterdag 7 maart 2015 20:02<br><b>Aan:</b> Kees Bleijenberg<span class=""><br><b>Onderwerp:</b> Re: [Haskell-cafe] ghc -O2 out of memory<u></u><u></u></span></span></p><p class="MsoNormal"><u></u> <u></u></p><p>Upgrade to ghc 7.8.4, theres some known bugs in O2 optimization that resulted in excessive memory usage that are fixed in 7.8.4<u></u><u></u></p><div><div class="h5"><p>You'll still have painful compilation times with a 30kloc module , but memory usage should be physically possible after the upgrade. <u></u><u></u></p><div><p class="MsoNormal">On Mar 7, 2015 10:58 AM, "Kees Bleijenberg" <<a href="mailto:K.Bleijenberg@lijbrandt.nl" target="_blank">K.Bleijenberg@lijbrandt.nl</a>> wrote:<u></u><u></u></p><div><div><p class="MsoNormal">I’ve written a program that reads a Excel file, parses the contents and generates a haskell module. Every cell in the xls has it’s own function in the module. This worked fine. <u></u><u></u></p><p class="MsoNormal">Now I have a bigger xls. The resulting module Xls.hs contains 30000 lines haskell code (without comment). I created a testprogram test.hs that calculates and prints one cell.<u></u><u></u></p><p class="MsoNormal">I did ghc --make test.hs and everything works fine.  The generated execuatable is very slow.<u></u><u></u></p><p class="MsoNormal">I did ghc --make –O2 test.hs. The compilations takes 15 minutes and aborts with   ‘ghc: out of memory’. I’am working on Win 7 64 bits , ghc version = 7.8.3.<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">What can I do to fix this? I do need –O2. I found with smaller xls’s that optimization speeds up the executable dramatically.<u></u><u></u></p><p class="MsoNormal">Before I start experimenting, does it help to split up the xls .hs in seperate  files? I.e. the cells that refer to other cells and cells that don’t refer to other cells. Or will I still get ‘out of memory’ because the optimization is global?<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Kees<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p></div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>_______________________________________________<br>Haskell-Cafe mailing list<br><a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br><a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><u></u><u></u></p></div></div></div><p class="MsoNormal">No virus found in this message.<br>Checked by AVG - <a href="http://www.avg.com" target="_blank">www.avg.com</a><br>Version: 2015.0.5751 / Virus Database: 4299/9258 - Release Date: 03/09/15<u></u><u></u></p></div></div></blockquote></div><br></div>