{
  "id": 440523,
  "title": "How can I solve \"Notebook Out of Memory Error!\" ?",
  "url": "/competitions/child-mind-institute-detect-sleep-states/discussion/440523",
  "author_name": "",
  "post_date": "2023-09-15T08:23:13.989431500Z",
  "votes": 1,
  "comment_count": 6,
  "views": 0,
  "content": "<p>Hi everyone,</p>\n<p>I keep getting \"notebook out of memory\" errors.</p>\n<p>Firstly, I imported the train_series, created the feature, trained the model, and deleted the dataset and used gc.</p>\n<p>Then, I imported test_series using by polar. </p>\n<p>Despite all these attempts, I constantly encounter the same problem.</p>\n<p>Is there anyone to help me?</p>\n<p>Thanks.</p>",
  "messages": [
    {
      "id": "2440033",
      "postDate": "09/15/2023 08:23:13",
      "content": "<p>Hi everyone,</p>\n<p>I keep getting \"notebook out of memory\" errors.</p>\n<p>Firstly, I imported the train_series, created the feature, trained the model, and deleted the dataset and used gc.</p>\n<p>Then, I imported test_series using by polar. </p>\n<p>Despite all these attempts, I constantly encounter the same problem.</p>\n<p>Is there anyone to help me?</p>\n<p>Thanks.</p>",
      "rawMarkdown": "Hi everyone,\n\nI keep getting \"notebook out of memory\" errors.\n\nFirstly, I imported the train_series, created the feature, trained the model, and deleted the dataset and used gc.\n\nThen, I imported test_series using by polar. \n\nDespite all these attempts, I constantly encounter the same problem.\n\nIs there anyone to help me?\n\nThanks.",
      "votes": null
    },
    {
      "id": "2440088",
      "postDate": "09/15/2023 08:58:02",
      "content": "<p>If you're encountering a \"Notebook Out of Memory\" error, it means that your computing environment, such as a Jupyter Notebook, has run out of available RAM (random access memory). This issue can occur when you're working with large datasets or complex models. </p>",
      "rawMarkdown": "If you're encountering a \"Notebook Out of Memory\" error, it means that your computing environment, such as a Jupyter Notebook, has run out of available RAM (random access memory). This issue can occur when you're working with large datasets or complex models.",
      "votes": null
    },
    {
      "id": "2440093",
      "postDate": "09/15/2023 09:02:02",
      "content": "<p>I didn't import different data set, i just used the competetion data set.</p>\n<p>How can i solve it? Do you have any solution advise?</p>",
      "rawMarkdown": "I didn't import different data set, i just used the competetion data set.\n\nHow can i solve it? Do you have any solution advise?",
      "votes": null
    },
    {
      "id": "2440099",
      "postDate": "09/15/2023 09:08:22",
      "content": "<p>Hi <a href=\"https://www.kaggle.com/ozansabirlioglu\" target=\"_blank\">@ozansabirlioglu</a>. I'm starting the preprocessing using <a href=\"https://www.kaggle.com/competitions/child-mind-institute-detect-sleep-states/discussion/440170\" target=\"_blank\">this lightened dataset</a>. I'm increasing the number of features while observing memory usage.<br>\nAlso, looking at the published notebooks, they all use lightweight datasets, such as by narrowing down the IDs, <a href=\"https://www.kaggle.com/code/carlmcbrideellis/zzzs-random-forest-model-starter\" target=\"_blank\">here</a>.</p>",
      "rawMarkdown": "Hi @ozansabirlioglu. I'm starting the preprocessing using [this lightened dataset](https://www.kaggle.com/competitions/child-mind-institute-detect-sleep-states/discussion/440170). I'm increasing the number of features while observing memory usage.\nAlso, looking at the published notebooks, they all use lightweight datasets, such as by narrowing down the IDs, [here](https://www.kaggle.com/code/carlmcbrideellis/zzzs-random-forest-model-starter).",
      "votes": null
    },
    {
      "id": "2440321",
      "postDate": "09/15/2023 12:39:56",
      "content": "<p>Hi <a href=\"https://www.kaggle.com/ozansabirlioglu\" target=\"_blank\">@ozansabirlioglu</a> </p>\n<p>I've experienced this as well. After I used the lightened dataset mentioned by <a href=\"https://www.kaggle.com/mitsuyasuhoshino\" target=\"_blank\">@mitsuyasuhoshino</a> and doing some memory usage reduction, I solved this problem </p>\n<p>Furthermore, if you encounter any other issue during submission, you can refer to this official guideline</p>\n<p><a href=\"https://www.kaggle.com/code-competition-debugging\" target=\"_blank\">https://www.kaggle.com/code-competition-debugging</a></p>\n<p>Good luck!</p>",
      "rawMarkdown": "Hi @ozansabirlioglu \n\nI've experienced this as well. After I used the lightened dataset mentioned by @mitsuyasuhoshino and doing some memory usage reduction, I solved this problem \n\nFurthermore, if you encounter any other issue during submission, you can refer to this official guideline\n\nhttps://www.kaggle.com/code-competition-debugging\n\nGood luck!",
      "votes": null
    },
    {
      "id": "2440473",
      "postDate": "09/15/2023 14:30:49",
      "content": "<p>Hi <a href=\"https://www.kaggle.com/ozansabirlioglu\" target=\"_blank\">@ozansabirlioglu</a>, try this <a href=\"https://www.kaggle.com/competitions/child-mind-institute-detect-sleep-states/discussion/440592\" target=\"_blank\">Tackling out of memory issue on test set</a></p>",
      "rawMarkdown": "Hi @ozansabirlioglu, try this [Tackling out of memory issue on test set](https://www.kaggle.com/competitions/child-mind-institute-detect-sleep-states/discussion/440592)",
      "votes": null
    },
    {
      "id": "2441095",
      "postDate": "09/16/2023 02:59:44",
      "content": "<p><a href=\"https://www.kaggle.com/ozansabirlioglu\" target=\"_blank\">@ozansabirlioglu</a> , the test_series data is larger than train_series, I created a loop to filter the test and run it in parts.<br>\nYou can see this idea in this <a href=\"https://www.kaggle.com/code/renatoreggiani/feature-eng-ideas-and-lightgbm-cmi\" target=\"_blank\">notebook</a>.<br>\nIt is important to take this care because data from private tests is greater than that from public tests.</p>",
      "rawMarkdown": "ozansabirlioglu , the test_series data is larger than train_series, I created a loop to filter the test and run it in parts.\nYou can see this idea in this [notebook](https://www.kaggle.com/code/renatoreggiani/feature-eng-ideas-and-lightgbm-cmi).\nIt is important to take this care because data from private tests is greater than that from public tests.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 2440088,
      "author_name": "sheerazhussain",
      "author_url": "",
      "post_date": "09/15/2023 08:58:02",
      "content": "<p>If you're encountering a \"Notebook Out of Memory\" error, it means that your computing environment, such as a Jupyter Notebook, has run out of available RAM (random access memory). This issue can occur when you're working with large datasets or complex models. </p>",
      "votes": null,
      "replies": [
        {
          "id": 2440093,
          "author_name": "ozansabirlioglu",
          "author_url": "",
          "post_date": "09/15/2023 09:02:02",
          "content": "<p>I didn't import different data set, i just used the competetion data set.</p>\n<p>How can i solve it? Do you have any solution advise?</p>",
          "votes": null,
          "replies": [
            {
              "id": 2440099,
              "author_name": "mitsuyasuhoshino",
              "author_url": "",
              "post_date": "09/15/2023 09:08:22",
              "content": "<p>Hi <a href=\"https://www.kaggle.com/ozansabirlioglu\" target=\"_blank\">@ozansabirlioglu</a>. I'm starting the preprocessing using <a href=\"https://www.kaggle.com/competitions/child-mind-institute-detect-sleep-states/discussion/440170\" target=\"_blank\">this lightened dataset</a>. I'm increasing the number of features while observing memory usage.<br>\nAlso, looking at the published notebooks, they all use lightweight datasets, such as by narrowing down the IDs, <a href=\"https://www.kaggle.com/code/carlmcbrideellis/zzzs-random-forest-model-starter\" target=\"_blank\">here</a>.</p>",
              "votes": null,
              "replies": []
            }
          ]
        }
      ]
    },
    {
      "id": 2440321,
      "author_name": "rimbax",
      "author_url": "",
      "post_date": "09/15/2023 12:39:56",
      "content": "<p>Hi <a href=\"https://www.kaggle.com/ozansabirlioglu\" target=\"_blank\">@ozansabirlioglu</a> </p>\n<p>I've experienced this as well. After I used the lightened dataset mentioned by <a href=\"https://www.kaggle.com/mitsuyasuhoshino\" target=\"_blank\">@mitsuyasuhoshino</a> and doing some memory usage reduction, I solved this problem </p>\n<p>Furthermore, if you encounter any other issue during submission, you can refer to this official guideline</p>\n<p><a href=\"https://www.kaggle.com/code-competition-debugging\" target=\"_blank\">https://www.kaggle.com/code-competition-debugging</a></p>\n<p>Good luck!</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 2440473,
      "author_name": "anilreddyvv",
      "author_url": "",
      "post_date": "09/15/2023 14:30:49",
      "content": "<p>Hi <a href=\"https://www.kaggle.com/ozansabirlioglu\" target=\"_blank\">@ozansabirlioglu</a>, try this <a href=\"https://www.kaggle.com/competitions/child-mind-institute-detect-sleep-states/discussion/440592\" target=\"_blank\">Tackling out of memory issue on test set</a></p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 2441095,
      "author_name": "renatoreggiani",
      "author_url": "",
      "post_date": "09/16/2023 02:59:44",
      "content": "<p><a href=\"https://www.kaggle.com/ozansabirlioglu\" target=\"_blank\">@ozansabirlioglu</a> , the test_series data is larger than train_series, I created a loop to filter the test and run it in parts.<br>\nYou can see this idea in this <a href=\"https://www.kaggle.com/code/renatoreggiani/feature-eng-ideas-and-lightgbm-cmi\" target=\"_blank\">notebook</a>.<br>\nIt is important to take this care because data from private tests is greater than that from public tests.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2440033": "Hi everyone,\n\nI keep getting \"notebook out of memory\" errors.\n\nFirstly, I imported the train_series, created the feature, trained the model, and deleted the dataset and used gc.\n\nThen, I imported test_series using by polar. \n\nDespite all these attempts, I constantly encounter the same problem.\n\nIs there anyone to help me?\n\nThanks.",
    "2440088": "If you're encountering a \"Notebook Out of Memory\" error, it means that your computing environment, such as a Jupyter Notebook, has run out of available RAM (random access memory). This issue can occur when you're working with large datasets or complex models.",
    "2440093": "I didn't import different data set, i just used the competetion data set.\n\nHow can i solve it? Do you have any solution advise?",
    "2440099": "Hi @ozansabirlioglu. I'm starting the preprocessing using [this lightened dataset](https://www.kaggle.com/competitions/child-mind-institute-detect-sleep-states/discussion/440170). I'm increasing the number of features while observing memory usage.\nAlso, looking at the published notebooks, they all use lightweight datasets, such as by narrowing down the IDs, [here](https://www.kaggle.com/code/carlmcbrideellis/zzzs-random-forest-model-starter).",
    "2440321": "Hi @ozansabirlioglu \n\nI've experienced this as well. After I used the lightened dataset mentioned by @mitsuyasuhoshino and doing some memory usage reduction, I solved this problem \n\nFurthermore, if you encounter any other issue during submission, you can refer to this official guideline\n\nhttps://www.kaggle.com/code-competition-debugging\n\nGood luck!",
    "2440473": "Hi @ozansabirlioglu, try this [Tackling out of memory issue on test set](https://www.kaggle.com/competitions/child-mind-institute-detect-sleep-states/discussion/440592)",
    "2441095": "ozansabirlioglu , the test_series data is larger than train_series, I created a loop to filter the test and run it in parts.\nYou can see this idea in this [notebook](https://www.kaggle.com/code/renatoreggiani/feature-eng-ideas-and-lightgbm-cmi).\nIt is important to take this care because data from private tests is greater than that from public tests."
  },
  "source": "meta"
}