Skip to content
Advertisement

Increase the size of /dev/shm in Azure ML Studio

I’m trying to execute the following code in Azure ML Studio notebook:

JavaScript

and I’m getting this error:

JavaScript

With n_jobs=1 it works fine.

I think this is because joblib library tries to save my data to /dev/shm. The problem is that it has only 64M capacity:

JavaScript

I can’t change this folder by setting JOBLIB_TEMP_FOLDER environment variable (export doesn’t work).

JavaScript

Thanks for any advice!

Advertisement

Answer

The /dev/shm is a virtual filesystem for passing data between programs that implementation of traditional shared memory on Linux.

So you could not increase it via set up some options on Application Layout.

But for example, you can remount /dev/shm with 8G size in Linux Shell with administrator permission like root as follows.

mount -o remount,size=8G /dev/shm

However, it seems that Azure ML studio not support remote access via SSH protocol, so the feasible plan is upgrade the standard tier if using free tier at present.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement