{
  "id": 28556,
  "title": "OSError: 139445000 requested and 63825910 written",
  "url": "/competitions/dstl-satellite-imagery-feature-detection/discussion/28556",
  "author_name": "",
  "post_date": "2017-02-07T14:52:41.267487300Z",
  "votes": null,
  "comment_count": 1,
  "views": 0,
  "content": "<p>Traceback (most recent call last):\n  File \"../src/script.py\", line 467, in \n22.5s\n30\n    stick_all_train()\n  File \"../src/script.py\", line 174, in stick_all_train\n    np.save('x_trn_%d' % N_Cls, x)\n  File \"/opt/conda/lib/python3.5/site-packages/numpy/lib/npyio.py\", line 491, in save\n    pickle_kwargs=pickle_kwargs)\n  File \"/opt/conda/lib/python3.5/site-packages/numpy/lib/format.py\", line 584, in write_array\n    array.tofile(fp)\nOSError: 139445000 requested and 63825910 written</p>\n\n<p>I am getting the above error when writing saving the the images in numpy format after processing . Can anyone suggest a work around ? </p>",
  "messages": [
    {
      "id": "160407",
      "postDate": "02/07/2017 14:52:41",
      "content": "<p>Traceback (most recent call last):\n  File \"../src/script.py\", line 467, in \n22.5s\n30\n    stick_all_train()\n  File \"../src/script.py\", line 174, in stick_all_train\n    np.save('x_trn_%d' % N_Cls, x)\n  File \"/opt/conda/lib/python3.5/site-packages/numpy/lib/npyio.py\", line 491, in save\n    pickle_kwargs=pickle_kwargs)\n  File \"/opt/conda/lib/python3.5/site-packages/numpy/lib/format.py\", line 584, in write_array\n    array.tofile(fp)\nOSError: 139445000 requested and 63825910 written</p>\n\n<p>I am getting the above error when writing saving the the images in numpy format after processing . Can anyone suggest a work around ? </p>",
      "rawMarkdown": "Traceback (most recent call last):\n  File \"../src/script.py\", line 467, in <module>\n22.5s\n30\n    stick_all_train()\n  File \"../src/script.py\", line 174, in stick_all_train\n    np.save('x_trn_%d' % N_Cls, x)\n  File \"/opt/conda/lib/python3.5/site-packages/numpy/lib/npyio.py\", line 491, in save\n    pickle_kwargs=pickle_kwargs)\n  File \"/opt/conda/lib/python3.5/site-packages/numpy/lib/format.py\", line 584, in write_array\n    array.tofile(fp)\nOSError: 139445000 requested and 63825910 written\n\n\nI am getting the above error when writing saving the the images in numpy format after processing . Can anyone suggest a work around ?",
      "votes": null
    },
    {
      "id": "165969",
      "postDate": "03/07/2017 20:22:21",
      "content": "<p>Hi! I've had the same problem with a script on EC2. According to <a href=\"https://github.com/numpy/numpy/issues/5336\">a similar issue</a> it is may be due to the \nlack of space in your temporary directory. Try using TMPDIR=$HOME/tmp</p>",
      "rawMarkdown": "Hi! I've had the same problem with a script on EC2. According to [a similar issue][1] it is may be due to the \nlack of space in your temporary directory. Try using TMPDIR=$HOME/tmp\n\n  [1]: https://github.com/numpy/numpy/issues/5336",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 165969,
      "author_name": "tayorm",
      "author_url": "",
      "post_date": "03/07/2017 20:22:21",
      "content": "<p>Hi! I've had the same problem with a script on EC2. According to <a href=\"https://github.com/numpy/numpy/issues/5336\">a similar issue</a> it is may be due to the \nlack of space in your temporary directory. Try using TMPDIR=$HOME/tmp</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "160407": "Traceback (most recent call last):\n  File \"../src/script.py\", line 467, in <module>\n22.5s\n30\n    stick_all_train()\n  File \"../src/script.py\", line 174, in stick_all_train\n    np.save('x_trn_%d' % N_Cls, x)\n  File \"/opt/conda/lib/python3.5/site-packages/numpy/lib/npyio.py\", line 491, in save\n    pickle_kwargs=pickle_kwargs)\n  File \"/opt/conda/lib/python3.5/site-packages/numpy/lib/format.py\", line 584, in write_array\n    array.tofile(fp)\nOSError: 139445000 requested and 63825910 written\n\n\nI am getting the above error when writing saving the the images in numpy format after processing . Can anyone suggest a work around ?",
    "165969": "Hi! I've had the same problem with a script on EC2. According to [a similar issue][1] it is may be due to the \nlack of space in your temporary directory. Try using TMPDIR=$HOME/tmp\n\n  [1]: https://github.com/numpy/numpy/issues/5336"
  },
  "source": "meta"
}