title: Memory error in amazon sagemaker
body: <p>Memory error occurs in amazon sagemaker when preprocessing 2 gb of data which is stored in s3. No problem in loading the data. Dimension of data is 7 million rows and 64 columns. One hot encoding is also not possible. Doing so results in memory error.
  Notebook instance is ml.t2.medium. How to solve this issue?</p>