Return-Path: Mailing-List: contact poi-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list poi-user@jakarta.apache.org Received: (qmail 6551 invoked from network); 14 May 2003 13:09:18 -0000 Received: from europa4.danzas.com (195.101.45.161) by daedalus.apache.org with SMTP; 14 May 2003 13:09:18 -0000 Received: from par96w.parci.fr.danzas.com (par96w.parci.fr.danzas.com [2.33.77.91]) by europa4.danzas.com (8.9.3 (PHNE_26304)/8.9.3) with ESMTP id PAA27668 for ; Wed, 14 May 2003 15:09:10 +0200 (METDST) Received: from par96w.parci.fr.danzas.com (2.33.77.91) by par96w.parci.fr.danzas.com (NPlex 5.5.031) id 3E91C38200284E05 for poi-user@jakarta.apache.org; Wed, 14 May 2003 15:09:10 +0200 Received: from 2.43.1.54 by par96w.parci.fr.danzas.com (InterScan E-Mail VirusWall NT); Wed, 14 May 2003 15:09:09 +0200 Received: from vie04w.danzas.com (2.43.1.54) by vie04w.danzas.com (NPlex 6.0.039) id 3E8E935E0003D619 for poi-user@jakarta.apache.org; Wed, 14 May 2003 15:09:05 +0200 Received: from 2.43.30.183 by vie04w.danzas.com (InterScan E-Mail VirusWall NT); Wed, 14 May 2003 15:09:05 +0200 From: "Christoph Jaeger" To: Subject: Out of memory errors Date: Wed, 14 May 2003 15:09:04 +0200 Message-ID: <002501c31a19$ff34c9a0$b71e2b02@at.danzas.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I am trying to write Excel-files using POIs HSSF classes. This works quite nicely for small files. But I can not write big files. Somewhere around 20000 rows with 10 columns is the biggest file I can produce (and my JVM uses over 70MB of memory when doing so). I do not use any advanced features. I just create rows with cells (between 30 and 40 columns) filled with numbers, formatted date, and short text. No formulas, no fancy formatting (only the fields in the first row are bold), no borders, no reading of existing files, nothing special. I do not want to increase the memory size usable for my JVM, as I create these Excel files from a web-application and I do not feel too comfortable changing the startup parameters for my whole Tomcat installation. Are there any hints you can give me to decrease memory consumption? I tried versions 1.5 and 1.10, both seemed to consume the same amount of memory. Should I try out the development series (as I do only simple stuff I hope the features I need are already stable there), or is this known to use even more memory? I read something in the development mailing list about a performance branch, which should be easier on memory, may this be a solution for me, or is not yet stable enough for simple use? Thanks Best Regards, Christoph J=E4ger