[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #974: heap size > 4GB impossible on 64-bit
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #974: heap size > 4GB impossible on 64-bit |
Date: |
Sun, 03 Feb 2013 03:20:04 -0000 |
#974: heap size > 4GB impossible on 64-bit
----------------------------+-----------------------------------------------
Reporter: zbigniew | Owner: zbigniew
Type: defect | Status: new
Priority: major | Milestone: someday
Component: core libraries | Version: 4.8.x
Keywords: |
----------------------------+-----------------------------------------------
arthurmaciel posted a program which crashed when compiled or hung in csi.
Although the original problem was fixed by increasing maximum heap size
over 2GB, another problem surfaced: heap resize over 4GB resized to 0,
resulting in crash.
{{{
$ ./test -:d -:hm16G
...
[debug] resizing heap dynamically from 2097152k to 4194304k ...
[debug] resizing heap dynamically from 0k to 1024k ...
}}}
This is due to heap_size being unsigned int instead of size_t. Proposed
patch posted to chicken-hackers. His program is attached (warning, it
requires about 8GB and 15 minutes to run to completion, but problem is
demonstrated after a few minutes).
--
Ticket URL: <http://bugs.call-cc.org/ticket/974>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #974: heap size > 4GB impossible on 64-bit,
Chicken Trac <=