A method and system of handling document operation requests on documents
with large collections and constrained memory is disclosed. In some
embodiments, when one or more collection elements of a document are
required to be in memory for a document operation, each of the one or
more required collection elements not already in the memory are loaded
into a collection partition in the memory before the document operation
is executed.