IBM Support

apicup subsys install fails with fatal error: runtime: out of memory

Troubleshooting


Problem

apicup subsys install fails with fatal error: runtime: out of memory
For example:

./apicup subsys install subinmgmt /subin/apic/apic/upgrade_management_10.0.5.4.tgz --debug
fatal error: runtime: out of memory

runtime stack:
runtime.throw({0x1c5f28c?, 0x0?})
        /usr/local/go/src/runtime/panic.go:1047 +0x5d fp=0xc000097df8 sp=0xc000097dc8 pc=0x4353fd
runtime.sysMapOS(0xc009400000, 0x17a800000?)
        /usr/local/go/src/runtime/mem_linux.go:187 +0x11b fp=0xc000097e40 sp=0xc000097df8 pc=0x417e9b
runtime.sysMap(0x2fea660?, 0xc3ffffffff?, 0x2ffa7f8?)
        /usr/local/go/src/runtime/mem.go:142 +0x35 fp=0xc000097e70 sp=0xc000097e40 pc=0x417875
runtime.(*mheap).grow(0x2fea660, 0xbd3fb?)
        /usr/local/go/src/runtime/mheap.go:1522 +0x252 fp=0xc000097ee8 sp=0xc000097e70 pc=0x428032
runtime.(*mheap).allocSpan(0x2fea660, 0xbd3fb, 0x0, 0xe1?)
        /usr/local/go/src/runtime/mheap.go:1243 +0x1b7 fp=0xc000097f80 sp=0xc000097ee8 pc=0x427777
runtime.(*mheap).alloc.func1()
        /usr/local/go/src/runtime/mheap.go:961 +0x65 fp=0xc000097fc8 sp=0xc000097f80 pc=0x427225
runtime.systemstack()
        /usr/local/go/src/runtime/asm_amd64.s:496 +0x49 fp=0xc000097fd0 sp=0xc000097fc8 pc=0x465429

Cause

This is caused due to low memory on the node / host where you are executing the apicup tool.

Resolving The Problem

Please increase the node's memory / RAM to 16GB or more and try again. 16GB is the minimum requirement for apicup tool. This should resolve the out of memory issue you are having.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"ARM Category":[{"code":"a8m50000000CeBXAA0","label":"API Connect-\u003EManagement and Monitoring (MM)-\u003EInstallation"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
28 July 2023

UID

ibm17015373