Thanks.  I need to go back to the drawing board.

On Thu, Jan 12, 2012 at 9:04 AM, Robert Newson <[email protected]> wrote:

> the max_document_size default value is, I hope obviously, very silly
> indeed. Any adventurous soul that would like to send in a 4GB json
> blob could satisfy my curiosity by reporting how long it takes couchdb
> to decode it here. :)
>
> A json document needs to be fully held in memory to be useful, which
> is why you might want to insist on a limit. Attachments, because they
> are uninterpreted binary, are streamed in and out. There's a structure
> that *is* held in memory consisting of the file offsets (and lengths)
> of each attachment chunk. At some point, that structure might be
> prohibitively large, but there's no inherent limit to attachment size
> beyond disk capacity.
>
> B.
>
> On 12 January 2012 17:00, Nils Breunese <[email protected]> wrote:
> > Mark Hahn wrote:
> >
> >> Hmmm.  I wonder where I got that idea.  Maybe it is the max size of a
> doc.
> >
> > max_document_size is configurable in local.ini. The default value is
> 4294967296 (bytes, so 4 GB, see default.ini).
> >
> > Nils.
> > ------------------------------------------------------------------------
> >  VPRO   www.vpro.nl
> > ------------------------------------------------------------------------
>

Reply via email to