Opened 4 months ago

Last modified 4 months 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

Description

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.

Change History (4)

comment:1 Changed 4 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 4 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 4 months ago by sjamaan

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

comment:4 Changed 4 months ago by felix winkelmann

Yes, I totally overlooked that, for some reason.

Note: See TracTickets for help on using tickets.