Example 📓 Jupyter notebooks that demonstrate how to build, train, and deploy machine learning models using 🧠Amazon SageMaker.
10k
stars
6.74k
forks
source link
Notebook exceeds memory?; OS Error : Cannot allocate memory #1469
Open
ngluna opened 4 years ago
In the notebook: https://github.com/awslabs/amazon-sagemaker-examples/blob/master/sagemaker_batch_transform/introduction_to_batch_transform/batch_transform_pca_dbscan_movie_clusters.ipynb
After training and within the "Batch Predictions PCA" I ran into a:
OSError: [Errno 12] Cannot allocate memory
How to recreate error:
What I tried: Shut down & restarted notebook instance.
In the terminal I ran:
free -h
which returned:
It might be that the dataset copied from S3 is causing me to exceed memory?