mirror of
https://github.com/bitwiseworks/gcc-os2.git
synced 2026-04-26 16:00:12 +00:00
Out of memory of cc1plus.exe #43
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @komh on GitHub (Feb 7, 2023).
Hi/2.
I'm trying to build VLC with gcc 9.2.0. However, compilation fails due to out of memory.
Any ideas ?
@StevenLevine commented on GitHub (Feb 7, 2023):
Hi/2 to you too. :-)
This usually means that the assembler has defaulted to building a 16-bit
object module. Paul ran into this with his qt5/qt6 builds. I don't
recall exactly what assembler options needed to change.
@dryeo commented on GitHub (Feb 7, 2023):
I had those errors when building Qt5, restarting the computer fixed it
for a while. Had to restart a few times to succeed.
Also VIRTUALADDRESSLIMIT=3072 and nothing much else running.
We're at the limits of our address space and then memory gets fragmented
I think.
@komh commented on GitHub (Feb 8, 2023):
It was a high-memory problem, that is, some DLLs are not enabled to use high-memory. Therefore, gcc could not allocate memory in a high-memory heap.
I've fixed this by using DLLs provided by rpm.
However, it would be better to make gcc to use high-memory regardless of heap voting.