Return-Path: Delivered-To: apmail-jakarta-poi-user-archive@www.apache.org Received: (qmail 47488 invoked from network); 17 May 2006 12:19:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 May 2006 12:19:21 -0000 Received: (qmail 97938 invoked by uid 500); 17 May 2006 11:44:52 -0000 Delivered-To: apmail-jakarta-poi-user-archive@jakarta.apache.org Received: (qmail 93017 invoked by uid 500); 17 May 2006 11:44:26 -0000 Mailing-List: contact poi-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "POI Users List" Reply-To: "POI Users List" Delivered-To: mailing list poi-user@jakarta.apache.org Received: (qmail 91603 invoked by uid 99); 17 May 2006 11:44:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 May 2006 04:44:15 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of bwaldiya@cisco.com designates 171.68.10.86 as permitted sender) Received: from [171.68.10.86] (HELO sj-iport-4.cisco.com) (171.68.10.86) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 May 2006 04:19:27 -0700 Received: from sj-dkim-5.cisco.com ([171.68.10.79]) by sj-iport-4.cisco.com with ESMTP; 17 May 2006 04:19:07 -0700 X-IronPort-AV: i="4.05,137,1146466800"; d="scan'208"; a="1807742644:sNHT37284164" Received: from sj-core-4.cisco.com (sj-core-4.cisco.com [171.68.223.138]) by sj-dkim-5.cisco.com (8.12.11/8.12.11) with ESMTP id k4HBJ6dQ006140 for ; Wed, 17 May 2006 04:19:06 -0700 Received: from cisco.com (charter.cisco.com [171.71.182.13]) by sj-core-4.cisco.com (8.12.10/8.12.6) with ESMTP id k4HBJ6sF012083 for ; Wed, 17 May 2006 04:19:06 -0700 (PDT) Received: from charter.cisco.com (localhost.localdomain [127.0.0.1]) by cisco.com (8.12.11/8.12.11) with ESMTP id k4HBJ6XX026853 for ; Wed, 17 May 2006 04:19:06 -0700 Received: from charter.cisco.com (root@localhost) by charter.cisco.com (8.12.11/8.12.11/Submit) with ESMTP id k4HBJ6kN026850 for ; Wed, 17 May 2006 04:19:06 -0700 Received: from bwaldiyaw2k ( 10.76.187.58) by charter.cisco.com (Scalix SMTP Relay 10.0.0.175) via ESMTP; Wed, 17 May 2006 04:19:06 -0700 (PDT) Date: Wed, 17 May 2006 16:50:33 +0530 From: "Birendar Waldiya" To: "'POI Users List'" Message-ID: <10388.82401147864746.charter.cisco.com@MHS> In-Reply-To: Subject: RE: protected word doc x-scalix-Hops: 1 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Thread-Index: AcZ5ogzYmwsT2nL7Sw2I8ULEUNngOAAAckJg MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Disposition: inline DKIM-Signature: a=rsa-sha1; q=dns; l=662; t=1147864746; x=1148728746; c=relaxed/simple; s=sjdkim5001; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=bwaldiya@cisco.com; z=From:=22Birendar=20Waldiya=22=20 |Subject:RE=3A=20protected=20word=20doc; X=v=3Dcisco.com=3B=20h=3DyZWH4dslJzXgBK9PP2LpRScuaCU=3D; b=cTLxNQ1vK51ivhKpefPR5KtjKEXsp4sFvEcDrClyqs3HRuHxdV04eRw9V0ttKu5deV/3eWYj y6jcWs3tV+aeDZjN5+m6lfneQriw3WRssUwrvk2+1cAZToVzS+Vz4yiV; Authentication-Results: sj-dkim-5.cisco.com; header.From=bwaldiya@cisco.com; dkim=pass ( sig from cisco.com verified; ); X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Try to user wd.remove() and sheet.remove() After every iteration !! -----Original Message----- From: Sushil Khekare [mailto:Sushil.Khekare@symphonysv.com] Sent: Wednesday, May 17, 2006 4:37 PM To: poi-user@jakarta.apache.org Subject: protected word doc when i try to extract text from microsoft word document POI goes out of memory when actually memory is not so much consumed by jvm. Any body knows how to solve this also is there any new version of poi in pipeline. Code goes out of memory at this line byte[] tableStream = new byte[size]; the file size is only 24 kb but it is password protected for opening. Any help?????? --------------------------------------------------------------------- To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org Mailing List: http://jakarta.apache.org/site/mail2.html#poi The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/