The amount of memory must be installed before running azk agent . So, make sure that the agent is turned off and running:
export AZK_VM_MEMORY=[memory size in MB] azk agent start
As a shorthand, you can put the export command in your .profile , .bashrc or .zshrc (depending on the shell you use) to make this configuration persistent between different terminal sessions.
Note: by default, azk uses 1/6 total memory (or 512MB , whichever is greater) for the VM
source share