Skip to content

[FIX] spreadsheet_oca: compact SNAPSHOT to avoid MemoryError on open - #152

Draft
cifuentesmx wants to merge 1 commit into
OCA:18.0from
cifuentesmx:18.0
Draft

cifuentesmx wants to merge 1 commit into
OCA:18.0from
cifuentesmx:18.0

Conversation

@cifuentesmx

Copy link
Copy Markdown

Pasting large ranges stores one UPDATE_CELL per cell and SNAPSHOT kept the full workbook in revision commands, so get_spreadsheet_data json.loads of the whole history could OOM. Persist the snapshot as spreadsheet_raw and drop prior revisions, matching o-spreadsheet/Enterprise.

Pasting large ranges stores one UPDATE_CELL per cell and SNAPSHOT kept the full workbook in revision commands, so get_spreadsheet_data json.loads of the whole history could OOM. Persist the snapshot as spreadsheet_raw and drop prior revisions, matching o-spreadsheet/Enterprise.
@oca-cla-bot

oca-cla-bot Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants