increase your heap size (java -Xmx100m for instance would make 100m available to java)
-Andy [EMAIL PROTECTED] wrote: >Hello all, > >I recently created a conversion utility that reads processes records from a >result set into an HSSFWorksheet object. I just ran across a scenario where >I am getting an out of memory error. I was testing it against a moderately >sized file on an AS/400 system with the code running on my Dell 900Mhz 20G >PC Win2K PC. I have 128Meg RAM and it was running in the Forte Community >Edition IDE from Sun. I did have about 3-4 other windows open but I hardly >think that would have caused a difference. I'm wondering if there's >anything I can do to alleviate this. I'm thinking the out-of-memory is due >to too many object being created with the result set containing about 4600 >records each w/ about 25 or 30 fields. This combined with all of the HSSF >sheet, row, and font objects for formatting and writing the data was >probably too much. Is there any low memory alternative to what I'm trying? > >Regards, >Cliff > > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
