modern-xlsx API Reference - v1.3.0
    Preparing search index...

    Variable SIZE_LIMITConst

    SIZE_LIMIT: "SIZE_LIMIT" = ...

    A hard size limit was exceeded. On read: the JSON length, the total text a read copies from shared strings, comment authors, hyperlink targets and worksheet namespace declarations into the cells, comments, hyperlinks and kept worksheet extensions that name them, or the memory of the records a read keeps in its lists: the defined names, the shared string entries and runs, the records of xl/styles.xml (fonts, fills, borders, cell formats, cell styles, differential formats, number formats and the like), the chart series and axes, the threaded comments and mentions, then the worksheet lists (data validations, conditional-format rules, selections, columns, hyperlinks, merged ranges and the like), counted together over all of them and all sheets at each record's in-memory size plus its strings, except the plain text of a shared string entry, which is not counted (all three are set by ReadOptions.limits.maxJsonLength). Otherwise: an OLE2 stream size on encrypted write, the pivot items the writer adds when it completes pivot tables built in code (more than 1,048,576 items in one field, or more than 4,194,304 items and pivot fields added in one workbook), the notes the writer generates in one workbook (more than 131,072 VML note shapes for legacy comments and tc= placeholders for threaded comments, MAX_GENERATED_NOTE_SHAPES; notes kept in the VML drawing they were read with are not counted), or a sheetToCsv, sheetToTxt or sheetToHtml grid whose text would exceed V8's maximum string length.