[Bug 157994] "Error in writing sub-document content.xml", with large files
https://bugs.documentfoundation.org/show_bug.cgi?id=157994 Stéphane Guillou (stragu) changed: What|Removed |Added Blocks||107943 See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=86 ||963, ||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=60 ||769, ||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=10 ||9049, ||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=11 ||2235 --- Comment #16 from Stéphane Guillou (stragu) --- Confirmed in bug 160892 comment 10 that the lack of memory can reproduce the issue. Similar error messages in See Also. Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=107943 [Bug 107943] [META] Save bugs and enhancements -- You are receiving this mail because: You are the assignee for the bug.
[Bug 157994] "Error in writing sub-document content.xml", with large files
https://bugs.documentfoundation.org/show_bug.cgi?id=157994 Stéphane Guillou (stragu) changed: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=16 ||0892 -- You are receiving this mail because: You are the assignee for the bug.
[Bug 157994] "Error in writing sub-document content.xml", with large files
https://bugs.documentfoundation.org/show_bug.cgi?id=157994 Stéphane Guillou (stragu) changed: What|Removed |Added Blocks||122652 Status|UNCONFIRMED |NEW CC||stephane.guillou@libreoffic ||e.org Ever confirmed|0 |1 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=122652 [Bug 122652] [META] Memory problems in LibreOffice -- You are receiving this mail because: You are the assignee for the bug.
[Bug 157994] "Error in writing sub-document content.xml", with large files
https://bugs.documentfoundation.org/show_bug.cgi?id=157994 Stéphane Guillou (stragu) changed: What|Removed |Added CC||razmikghazaryan@protonmail. ||com --- Comment #15 from Stéphane Guillou (stragu) --- *** Bug 160892 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the assignee for the bug.
[Bug 157994] "Error in writing sub-document content.xml", with large files
https://bugs.documentfoundation.org/show_bug.cgi?id=157994 --- Comment #14 from JoshYang --- I still think this is a RAM issue. Still, LibreOffice must address this: 1) Provide actually descriptive error message 2) Don't copy the entire file content to RAM when saving, update the output file in chunks. Otherwise you're limiting max file size to max available RAM. The reason I think this is still a RAM issue: 1) You did not mention what format the image files you imported into LO were. It's very possible they are stored uncompressed in the file or RAM 2) You did not provide your system specs. If you have small amount of RAM storage and small amount of free RAM, even 50 images could cause you to exceed it. Check your available RAM with (A) LO closed, (B) LO open with an empty file, (C) LO open with the file that causes the issue, (D) during saving the file that causes the issue. -- You are receiving this mail because: You are the assignee for the bug.
[Bug 157994] "Error in writing sub-document content.xml", with large files
https://bugs.documentfoundation.org/show_bug.cgi?id=157994 --- Comment #13 from rvma...@gmail.com --- After reading the comments I think I am affected by exactly the same bug commented in this entry. I am using LibreOffice 24.2.0 on an Intel Mac. The main difference with the comments posted so far is: -I am able to reproduce the issue without any problems. I just open the document, add a bit of text or an image and bam! the bug appears. So no problem reproducing it. -I am using lots of images in my document but the document is not huge (170 pages or so). -The document has many images but not thousands, maybe around 150 or so images. -The images are not very big. It's usually small images of sometimes 300 kbs, sometimes even less. -The final document is not huge. I mean it is a 20 Mb document, which is a lot. But it is not 200 Mb. -One thing is common with the comments commented so far: When I check the memory LibreOffice is using a huge amount of memory, more than 1 Gb, even 2 Gb sometimes. This doesn't make sense to me as the images are small. Even all the images combined cannot make more than 50 Mb or so... so where those 2 Gb come from? I think unfortunately I will have to stop using LibreOffice and come back to LyX. I did the same document with LyX in the past and no issues at all. I just wanted to use a more WYSIWYG tool this time for the 2nd revised edition but it seems to me it is not possible :( (If a developer wants to have the document for tests I have no problems to give it, it's a work that when finished will be published for free on the internet so... feel free to msg me for a copy of it to test the bug) -- You are receiving this mail because: You are the assignee for the bug.
[Bug 157994] "Error in writing sub-document content.xml", with large files
https://bugs.documentfoundation.org/show_bug.cgi?id=157994 --- Comment #12 from rvma...@gmail.com --- Created attachment 192848 --> https://bugs.documentfoundation.org/attachment.cgi?id=192848=edit Screenshot 2 of the bug on LibreOffice 24_2_0 on an Intel Mac -- You are receiving this mail because: You are the assignee for the bug.
[Bug 157994] "Error in writing sub-document content.xml", with large files
https://bugs.documentfoundation.org/show_bug.cgi?id=157994 --- Comment #11 from rvma...@gmail.com --- Created attachment 192847 --> https://bugs.documentfoundation.org/attachment.cgi?id=192847=edit Screenshot 1 of the bug on LibreOffice 24_2_0 on an Intel Mac -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 157994] "Error in writing sub-document content.xml", with large files
https://bugs.documentfoundation.org/show_bug.cgi?id=157994 --- Comment #10 from JoshYang --- I misread your message as you changing the label to worksforme, ignore it. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 157994] "Error in writing sub-document content.xml", with large files
https://bugs.documentfoundation.org/show_bug.cgi?id=157994 Buovjaga changed: What|Removed |Added Ever confirmed|1 |0 Status|NEW |UNCONFIRMED --- Comment #9 from Buovjaga --- (In reply to JoshYang from comment #8) > By the way, this "They have mainly been closed as worksforme at some point, > though." is not acceptable. Bugs are not bugs simply because you can't > reproduce them. > I can't believe this is your logic and makes me question if it makes sense > to keep donating to a project when this is the level of thinking devs use. Why would it be unacceptable for the reporters to close their own reports, if the problems have disappeared? -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 157994] "Error in writing sub-document content.xml", with large files
https://bugs.documentfoundation.org/show_bug.cgi?id=157994 --- Comment #8 from JoshYang --- By the way, this "They have mainly been closed as worksforme at some point, though." is not acceptable. Bugs are not bugs simply because you can't reproduce them. I can't believe this is your logic and makes me question if it makes sense to keep donating to a project when this is the level of thinking devs use. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 157994] "Error in writing sub-document content.xml", with large files
https://bugs.documentfoundation.org/show_bug.cgi?id=157994 JoshYang changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #7 from JoshYang --- I've upgraded the RAM of my laptop to 32GB. I can confirm the problem has gone away with all the files that produces this issue. But hold your horses, this doesn't mean there isn't an issue with the Libreoffice code: 1) Libreoffice shouldn't copy all of the file to RAM when saving. It makes no sense, work in chunks. Your putting an artifical practical limit of 256GB on file sizes. And let's be real, it will be more like 8-32GB for most users. And being more real, modern OSes, with something running in the background and the OS not allowing a program to use up last remaining gigabyte of RAM (like in my case) means ~6-7GB is already occupied, that leaves only 500-1000MB avilable for LO. That's not a lot and not at all hard to exceed for a large (50+ pages) document with a lot of uncompressed embedded image files. 2) The error message is useless, as we've seen in this discussion and many similar ones over the years about this. It simply tells you where the program couldn't proceed, not why. LO should check the RAM data and be able to provide an actual warning/error. At least put a "Out of RAM?" in the popup window. 3) LibreOffice should be able to use the swap memory for this when the RAM isn't available. I set up 32GB of swap memory and LO refused to use any of it when saving the file and throwing the errror. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 157994] "Error in writing sub-document content.xml", with large files
https://bugs.documentfoundation.org/show_bug.cgi?id=157994 --- Comment #6 from JoshYang --- Being even more generous, almost nothing else running, and still the same crash. There's around 40% memory free and it's not even touching the increased swap memory which is barely utilized by anything else: https://i.imgur.com/HYy3NRT.png I'm out of ideas. I do find it odd how LibreOffice loads the whole document into RAM, and then if you save the file it then loads the whole data again into RAM until saving is complete (so like the temp file as the file is written also fully goes into RAM). Why not operate by 100MB RAM data chunks for the saving temp data and have a temp file on disk instead? -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 157994] "Error in writing sub-document content.xml", with large files
https://bugs.documentfoundation.org/show_bug.cgi?id=157994 --- Comment #5 from JoshYang --- Sorry for double post, but I was able to repeat the error with a background program closed, which reduced RAM usage by another 400MB (which is the size of the entire ODT file), and as you can see the System Monitor claims less than 80% RAM usage when the error happened this time: https://i.imgur.com/ABsKseP.png -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 157994] "Error in writing sub-document content.xml", with large files
https://bugs.documentfoundation.org/show_bug.cgi?id=157994 --- Comment #4 from JoshYang --- Happened again today while doing actual real work. Observe the System Monitor data: https://i.imgur.com/7kDaZbd.png Same OS and LO version as original post. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 157994] "Error in writing sub-document content.xml", with large files
https://bugs.documentfoundation.org/show_bug.cgi?id=157994 --- Comment #3 from JoshYang --- I have a slight suspicion it may still be an error due to running out of RAM. The Linux Mint system monitor GUI shows over 1GB free (8GB total with this laptop), but it may be not updating or not providing the remainder to LibreOffice. If there's any way to verify this, let me know. If this is indeed the case, I think LibreOffice can do a better job at checking the system RAM and telling the user the RAM is the issue, rather than this non-descriptive error message. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 157994] "Error in writing sub-document content.xml", with large files
https://bugs.documentfoundation.org/show_bug.cgi?id=157994 Buovjaga changed: What|Removed |Added CC||ilmari.lauhakangas@libreoff ||ice.org --- Comment #2 from Buovjaga --- There are many reports found with the message: https://bugs.documentfoundation.org/buglist.cgi?short_desc=Error%20in%20writing%20sub-document%20content.xml_desc_type=allwordssubstr They have mainly been closed as worksforme at some point, though. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 157994] "Error in writing sub-document content.xml", with large files
https://bugs.documentfoundation.org/show_bug.cgi?id=157994 JoshYang changed: What|Removed |Added Summary|"Error in writing |"Error in writing |sub-document content.xml", |sub-document content.xml", |with large files, two open |with large files |at once | -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 157994] "Error in writing sub-document content.xml", with large files, two open at once
https://bugs.documentfoundation.org/show_bug.cgi?id=157994 --- Comment #1 from JoshYang --- I'd like to clarify that this can happen with only one file open at a time. I do have one confidential file (470MB) which often throws this error when saved with nothing more added to it. I frogot about it when writing the bug report. Sadly, I'm unable to create a test file which can reliably reproduce this behavior by itself, with no second file needed to be opened. -- You are receiving this mail because: You are the assignee for the bug.