Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 34867 invoked from network); 5 Jan 2010 09:58:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Jan 2010 09:58:58 -0000 Received: (qmail 98862 invoked by uid 500); 5 Jan 2010 09:58:56 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 98785 invoked by uid 500); 5 Jan 2010 09:58:56 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 98775 invoked by uid 99); 5 Jan 2010 09:58:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jan 2010 09:58:56 +0000 X-ASF-Spam-Status: No, hits=3.9 required=10.0 tests=ROUND_THE_WORLD_LOCAL,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [203.101.103.66] (HELO krishna.sisl.co.in) (203.101.103.66) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jan 2010 09:58:46 +0000 Received: from kaveri.sisl.co.in (kaveri.sisl.co.in [132.186.192.4]) by krishna.sisl.co.in (Postfix) with ESMTP id 3AE9213B313 for ; Tue, 5 Jan 2010 15:17:32 +0530 (IST) Received: from INBLRK77N1MSX.in002.siemens.net (unknown [132.186.221.154]) by kaveri.sisl.co.in (Postfix) with ESMTP id B43171BD73 for ; Tue, 5 Jan 2010 15:28:21 +0530 (IST) Received: from INBLRK77M2MSX.in002.siemens.net ([169.254.2.6]) by INBLRK77N1MSX.in002.siemens.net ([132.186.221.162]) with mapi; Tue, 5 Jan 2010 15:24:11 +0530 From: "Agrawal, Vikas IN BLR SISL" To: "user@couchdb.apache.org" Date: Tue, 5 Jan 2010 15:24:04 +0530 Subject: RE: Large documents are not uploading. Thread-Topic: Large documents are not uploading. Thread-Index: AcqN6kkmoZCJbYhVTbW/B7uhR8kligAAKfFg Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US x-tm-as-product-ver: SMEX-8.0.0.4125-3.800.1026-17112.006 x-tm-as-result: No--37.387500-8.000000-31 x-tm-as-user-approved-sender: No x-tm-as-user-blocked-sender: No Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hello Benoit, Thanks for your reply. I have 2 GB RAM. What should be the minimum RAM required to upload such a b= ig file? Regards, Vikas -----Original Message----- From: Benoit Chesneau [mailto:bchesneau@gmail.com] Sent: Tuesday, January 05, 2010 3:04 PM To: user@couchdb.apache.org Subject: Re: Large documents are not uploading. On Mon, Jan 4, 2010 at 1:32 PM, Agrawal, Vikas IN BLR SISL wrote: > Hello All, > > I am new to Couch DB. I am trying to upload vdi file (Virtual disk Image = file) which is an image file of sun virtual box machine. Size of my file is= 3.5 GB. When I try to upload this file it starts to upload and nothing is = happening after that i.e. uploading is not successful. I tried with 11 Mb f= ile and it is working fine. > > I have also changed the values of max_document_size and max_attachment_ch= unk_size in defauilt.ini file to 17 GB. But still no progress. > > I am using Windows, version 0.10.0 of CouchDB. > I don't think It's possible to upload such size from the browser, you will be limited in RAM I guess. Better to use a script. If you use couchdbkit you can can stream the sending. But such attachment size it's a little big. It may be better to save it on a filesystem or if you want it in CouchDB you can split the file in multiple chunks and save it in multiple docs, then map them to retrieve final file from from CouchDB. - beno=EEt