Opened 16 months ago

Last modified 5 weeks ago

#1675 new defect

Maximum heap size is limited on 64-bit machines

Reported by: felix winkelmann Owned by:
Priority: minor Milestone: 5.3
Component: core libraries Version: 5.1.0
Keywords: Cc:
Estimated difficulty: trivial


DEFAULT_MAXIMAL_HEAP_SIZE is set to 0x7ffffff0, which seems to be a 32-bit legacy. I guess it would be appropriate to use 0x7ffffffffffffff0 if C_SIXTY_FOUR is defined.

Attachments (1)

0001-Increase-maximum-heap-size-on-64-bit-machines.patch (1.1 KB) - added by Diego 5 weeks ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 15 months ago by sjamaan

Milestone: 5.25.3

I don't think this is needed for 5.2.0; it's only the default value, which can be easily overridden.

comment:2 Changed 15 months ago by felix winkelmann

It's actually the total maximum, which is not changable via command-line options (C_maximal_heap_size).

comment:3 Changed 15 months ago by sjamaan

Unless I'm mistaken, that can be overridden with -:m, see runtime.c line 1397.

comment:4 Changed 15 months ago by felix winkelmann

Yes, I totally overlooked that, for some reason.

comment:5 Changed 5 weeks ago by Diego

This might be silly but here's a patch

Note: See TracTickets for help on using tickets.