Opened 3 years ago

Last modified 3 years ago

#13063 new bug

Program uses 8GB of memory

Reported by: codygman Owned by:
Priority: normal Milestone:
Component: Compiler Version: 8.0.1-rc2
Keywords: Cc:
Operating System: Linux Architecture: x86_64 (amd64)
Type of failure: Compile-time performance bug Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

When compiling this repo with stack build it uses 8GB of memory. Even using -O0 it runs quickly but uses 8GB of memory:

https://github.com/codygman/frames-example-cdi

I've attached a -ddump-simple-iterations log of this build.

Change History (2)

comment:1 Changed 3 years ago by codygman

The log is 1.8GB and failed to upload, but heres a google drive link:

https://drive.google.com/file/d/0B7kqAY5hrqDwZzJnbXVvX2x2d1k/view?usp=sharing

comment:2 Changed 3 years ago by dfeuer

Can you explain how to reproduce this using GHC HEAD? Can you reduce it to a smaller example? Do you see a similar problem with 7.10?

Note: See TracTickets for help on using tickets.