I'm on Confluence Cloud.
I'm trying to update (or even create) a page which will have 1,510,252 characters/bytes (NOT words - it has 101,233 words) by pasting the content into the page editor. After pasting, the browser tab freezes, and I can never update or save it.
This happens on both Chrome and Firefox. It happens with smaller sized content too - 959,889 characters/bytes - NOT words (it has 83,425 words).
My Windows 11 laptop has 32 GB RAM and I've started both Chrome and FF with more memory - as much as 8 GB, but it doesn't help.
I've read that Confluence Cloud officially allows 800,000 words or 5 MB per page, and this content is far smaller than that.
Am I mistaken? Or is there a different limit that I have not read about?
(PS: The answer is NOT to break the page into multiple pages. For business reasons, I cannot break up the page into multiple pages)
Hi, @Kunal Ashar
The "800,000 words / 5 MB" limit you've seen referenced applies to the stored page body, but that's not the bottleneck you're hitting. The real problem is what happens in the browser when the editor tries to parse and render that much content in a single Confluence document. At ~1 million characters, the DOM becomes enormous and the tab just locks up - this is a client-side rendering ceiling, not a server-side storage limit.
As a workaround, to apply changes, use the REST API instead of the editor UI.
If the content is plain text or you can convert it to Confluence storage format (XHTML-based), you can POST/PUT it directly via the API without ever loading the editor. The browser freeze is irrelevant here since you're not rendering anything.
Body needs version, title, type, and body.storage.value. You can do this with curl, Postman, or a script. I'd try this first - in my experience it sidesteps the editor entirely and Confluence will store content it could never render in the UI.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Kunal Ashar
Yes, large pages do render Confluence non-responsive in browsers. Even on Apple silicon Macs with 64 GB RAM.
There is a workaround that always worked for me.
Warning! I'm going to suggest that you break the page - and put it back together with a little hack :)
Steps:
What happens is that the MASTER page doesn't have to do all the heavy lifting.
Notes:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.