我想从excel中找出总的行数。内存不足异常 InputStream myxls = new FileInputStream("File path");int colNum = row.getLastCellNum();
System.out.println("Total Number of Columns in the excelrowNum = sheet.getLastRowNum() + 1;
我有2个excel文件在服务器中,每个文件的大小为1 1GB。我必须比较这些文件,并且应该在一个单独的表中发送结果。我能够将一个excel文件读取到数据表中,而当我要读取另一个excel的数据时,我遇到了内存不足异常。File.OpenRead(strPath)) pck.Load(stream); //Getting issue out of memory for second excel
正在尝试将单个Excel工作簿的多个excel工作表中的数据合并到单个工作表中。每个excel表格有50k行和大约80列。应用程序抛出“内存不足”异常,因为数据量很大。)childWorksheet.GetFirstChild<SheetData>(); //Thowing Out of Meory Exception}使用OpenXML库进行excel如果数据大小受到上述方法的限制,请推荐任何可用于合并包含大量数据的exce