Written by

Question febri · Feb 29, 2024

how to fix ERROR #6063: Memory allocation for the Monitor failed

Can anyone give me a hint about this error?

I can compile sources following this approach, create a container and so on, but for example in specific commands to run test, I get the error.

ERROR #6063: Memory allocation for the Monitor failed

--

stats:

CONTAINER ID   CPU %     MEM USAGE / LIMIT     MEM %     NET I/O                  BLOCK I/O            PIDS
29efa407abc9   3.46%     2.094GiB / 77.32GiB      2.71%       40.1MB / 2.1MB   416MB / 4.36GB   61

swap (disabled):

total        used        free      shared  buff/cache   available
Mem:            77Gi       2,5Gi        66Gi       4,5Gi       8,2Gi        69Gi
Swap:             0B          0B          0B

Distributor ID: Ubuntu
Description:    Ubuntu 22.04.4 LTS

Client: Docker Engine - Community
 Version:           25.0.3

Docker Compose version v2.24.6

version: '3.6'
services:
  iris:
    env_file:
     - dev.env
    build:
      context: .
      dockerfile: Dockerfile
      target: final
    restart: always
    command: --check-caps false --ISCAgent false

I've not installed docker desktop.

Product version: IRIS 2021.2
$ZV: 2022.1.2.574.0

Comments

Robert Cemper · Feb 29, 2024

What OS are you working on?  Win, Mac, Linux, ``

0
febri · Feb 29, 2024

I am using a vmware virtual machine with Linux Ubuntu 22.04.4 LTS

0
Enrico Parisi · Feb 29, 2024

What "specific commands" generates this error?

0
febri  Feb 29, 2024 to Enrico Parisi

zn "%SYS"
W "Loading installer manifest"
do $SYSTEM.OBJ.Load("/usr/irissys/mgr/Temp/projectRoot/Installer.cls", "ck")
W "Start running test"
do ##class(manifest.Installer).test()

W "Purge all"
do ##class(%SYS.Journal.File).PurgeAll()
W "End test"
halt

--

The manifest.installer is previously loaded to run the setup and works fine, but there's no way to get more information about that issue that is needed for running the testing part.

The log:

#10 108.7 Copyright (c) 1986-2023 by InterSystems Corporation
#10 108.7 Any other use is a violation of your license agreement
#10 110.5 Starting IRIS
#10 110.5 
#10 110.6 
#10 110.6 Node: buildkitsandbox, Instance: IRIS
#10 110.6 
#10 110.6 USER>
#10 110.6 
#10 110.6 %SYS>
#10 110.6 Loading installer manifest
#10 110.6 %SYS>
#10 110.6 
#10 110.6 Load started on 02/29/2024 13:17:06
#10 110.6 Loading file /usr/irissys/mgr/Temp/projectRoot/Installer.cls as udl
#10 110.8 Compiling class manifest.Installer
#10 110.8 Compiling routine manifest.Installer.1
#10 110.8 Load finished successfully.
#10 110.8 
#10 110.8 %SYS>
#10 110.8 Start running test
#10 110.8 %SYS>
#10 110.8 
#10 116.5 
#10 116.5 Error: ERROR #6063: Memory allocation for the Monitor failed
#10 116.5 
#10 116.5 CONN>
#10 116.5 Purge all
#10 116.5 CONN>
#10 116.5 
#10 116.5 CONN>
#10 116.5 End test
#10 116.5 CONN>
#10 DONE 121.1s

0
febri  Feb 29, 2024 to Enrico Parisi

I don't have so much details. I will take a look. Thank you for sharing

0
febri  Feb 29, 2024 to febri

Effectively, the implemented code references %Monitor.System. By commenting some lines of the manifest.installer I can avoid this problem but I would like to know if there are more records or evidence because apparently I have enough resources as shown.

0