How do I increase the swap space in a linux compute instance?

Paulo Barbosa 6 Reputation points
2022-11-30T10:24:59.547+00:00

Hi, I'm using Microsoft Azure Machine Learning to train a model. The problem is that the process gets terminated. I'm almost 100% sure that it happens because I dont have enough virtual memory.

I've tried this https://azure.microsoft.com/es-es/blog/swap-space-in-windows-azure-virtual-machines-running-pre-built-linux-images-part-1/ but when I do swapon i get "insecure premissions 077, 0600 suggested". It seems that my chmod 600 is not doing the trick.

Any sugestions to increase the swap size using my file share?

Thanks

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,337 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Paulo Barbosa 6 Reputation points
    2022-11-30T12:40:56.7+00:00
    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.