Azure Linux images do not have swap configured … The reason is that “the user should decide on the size and location of the swap and do it post provisioning” … And that despite having a temporary disk attached for this purpose.
Anyway, I just configured 4GB of swap and in a few days I will know if this was the reason for the apparent lack of resources.
Thanks for your contributions, they have helped us!