{"version":"2.1.227","anchor":"notebook-edits-check-file-size-and-type-before-reading","canonical_anchor":"notebook-edits-check-file-size-and-type-before-reading","heading":"Notebook edits check file size and type before reading","tier":"notice","area":"Notebooks","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.227\/e\/notebook-edits-check-file-size-and-type-before-reading","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.227","markdown":"### Notebook edits check file size and type before reading\n\nNotebook edits check size and file type first instead of loading a huge file into memory.\n\n**What**\n\nEditing a notebook now stats the file first and bails out if it is not a regular file or is larger than 100 MB, rather than pulling the whole thing into memory. Within the cap it reads at most one byte past the limit.\n\n**Evidence**\n\n`notebook_path`\n\n- Area: Notebooks\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 1\/5"}