Opened 8 years ago

Closed 7 years ago

#198 closed defect (wontfix)

Shootout binary trees benchmark dies with OOM

Reported by: benl Owned by:
Priority: normal Milestone: 0.3.0
Component: Unknown Version: 0.1.2
Keywords: Cc:

Description

When the maxDepth is > 15 this dies with the following.

We're probably still using a fixed heap size instead of requesting more from the OS. At the least we should fix the overflow in the panic message.

endless:ddc-head-devel> bin/ddc --make test/60-Shootout/Binary-Trees/Main.ds
[1 of 1] Compiling Main
endless:ddc-head-devel> ./a.out 
stretch tree of depth 17	 check: -1
65536	 trees of depth 4	 check: -131072
16384	 trees of depth 6	 check: -32768
4096	 trees of depth 8	 check: -8192
1024	 trees of depth 10	 check: -2048
256	 trees of depth 12	 check: -512
64	 trees of depth 14	 check: -128
*** DDC RTS PANIC! Out of heap space.
        current (full) heap size: -6901121359207164289 bytes
      could not allocate another: 8 bytes
Abort trap

Change History (3)

comment:1 Changed 8 years ago by benl

  • Milestone changed from 0.1.3 to 0.1.4

comment:2 Changed 7 years ago by benl

  • Milestone 0.1.4 deleted

Milestone 0.1.4 deleted

comment:3 Changed 7 years ago by benl

  • Milestone set to 0.3.0
  • Resolution set to wontfix
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.