memory.ram_size
memory.ram_size

memory.ram_size

This parameter returns the total amount of Random Access Memory (RAM).

Getvar

To return the RAM size:
! U1 getvar "memory.ram_size"