id summary reporter owner description type status priority milestone component version resolution keywords cc difficulty 974 heap size > 4GB impossible on 64-bit Jim Ursetto Jim Ursetto "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)." defect closed major someday core libraries 4.8.x fixed