I have a drive file that seems to have a corrupted or leaky realtime document.
When I call realtimeDocument.getModel().getRoot().toString(), the output is {slides: []}
, but when I try to insert a new slide (a custom object with 10 or 15 small string properties), I get a size limit error.
Model size limit has been exceeded. Used: 10681723 bytes; Limit: 10485760 bytes
Is there a way I can reinitialize the realtime document or otherwise get it to trim itself down?
This only seems to be happening in one file - all of my other files have reasonable mappings between realtime document size and model complexity.