An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
This is also possible when enabling diagnostic settings. (to a storaga account).
then you can also 'sink" this back to Azure Monitor.
with this option you can see the memory usage from the portal itself.
another option is to use Log Analytics. (without the Azure Monitor for VM's) insights you also have the memroy usage available.
Regards,
Louis