Hi Mark.

I´m using the version of POI 3.5 and Java 1.6.0_14.

Thanks in advance.


MSB wrote:
> 
> Hello Alberto,
> 
> Can I ask please which version of POI are you using? I know that there was
> a problem with releasing file handles in an earlier version of the api so
> it may be worth while downloading and using the very latest version if you
> are not already doing so.
> 
> Yours
> 
> Mark B
> 
> 
> Alberto Pedrera wrote:
>> 
>> Hi all.
>> 
>> I have this code.
>> 
>> public static void main(String[] args) throws Exception{
>>      try{                    
>>              File input = new File("D:/test.xlsx");
>>              System.out.println("Open the file");                    
>>              Workbook wb = new XSSFWorkbook(new FileInputStream(input));
>>              System.out.println("Open correctly");                   
>>              while(true){    
>>                      System.out.println("Clean the memory");
>>                      System.gc();
>>              }                       
>>      }catch(Exception e){
>>              log.error("Error Main", e);
>>      }
>> }
>> 
>> My java process needs great deal of memory but when it executes "clean
>> the memory" this memory is never liberate. Test.xlsx has 25000 lines and
>> 50 columns and memory consume is 1300MB.
>> Someone can help me?
>> 
>> Best regards.
>> Alberto.
>> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Process-java-memory-tp28165914p28188559.html
Sent from the POI - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to