"bad allocation" error an crash upon saving ODS file in LibreOffice Calc

LibreOffice Calc crashes upon saving attempt. Very annoying because it crashes every second time.
The ODS file is 8Mb large, has few columns and charts.

The fatal error message: “bad allocation”
LibreOffice version: 6.3

Platform: Windows 10 Pro, 64bit, 32Gb RAM, i7 6-core, plenty of free space on SSD.

I could send you the file, but there is no possibility to attach unfortunately.

Version: 6.3.5.2 (x86)
Build ID: dd0751754f11728f69b42ee2af66670068624673
CPU threads: 6; OS: Windows 10.0; UI render: GL; VCL: win;
Locale: sv-SE (sv_SE); UI-Language: en-US
Calc: CL

Now you should be able to attach a file using the clip symbol (edit) image description

Version: 6.3.5.2 (x86)

Just use 64-bit version. But of course, if you can provide a sample file, or better file a bug report with the attachment, it could help to possibly identify an inefficient memory management or somesuch.