Antwort: Re: out of memory problem when reading xls

2004-07-12 Thread andriy . zhurba
Hello, this topic has been discussed not once in this mail list. Settings JVM start parameter for heap size helps solving this problem. e.g. java.exe -Xmx512M Regards, Andrew - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: out of memory problem when reading xls

2004-07-09 Thread Qingtian Wang
I've read files larger than that without problems. Are you running IntelliJ on Windows? What's your virtual memory size? When Java says "out of memory", from the system monitor of Windows, do you really see all the vitual memory being used up? Qingtian Wang Naga Raju Parsa wrote: Hi, I'm try

out of memory problem when reading xls

2004-07-09 Thread Naga Raju Parsa
Hi, I'm trying to read an xls file which is 2.5 MB, and I get the following exception. java.lang.OutOfMemoryError <> Exception in thread "main" Process terminated with exit code 1 Here is the code : InputStream myxls = new FileInputStream(exitingXLS1FileName); HSSFWorkbook wbexisting