Program runs out of memory using GHC 7.6.3

David Spies dnspies at gmail.com
Sat Dec 13 09:06:52 UTC 2014


I have a program I submitted for a Kattis problem:
https://open.kattis.com/problems/digicomp2
But I got memory limit exceeded.  I downloaded the test data and ran the
program on my own computer without problems.  Eventually I found out that
when compiling with GHC 7.6.3 (the version Kattis uses) rather than 7.8.3,
this program runs out of memory.
Can someone explain why it only works on the later compiler?  Is there a
workaround so that I can submit to Kattis?

Thanks,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20141213/235e58b0/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Main.hs
Type: text/x-haskell
Size: 1870 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20141213/235e58b0/attachment-0001.hs>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: input_data.tar.gz
Type: application/x-gzip
Size: 144538 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20141213/235e58b0/attachment-0001.bin>


More information about the ghc-devs mailing list