Hi,
Hi Jai,
Thanks for your posting and using Aspose.Cells for Java.
Please download and use the latest version: Aspose.Cells
for Java v8.1.0.1 and see if it makes any difference.
You can load your workbook with Memory_Preference setting using the following code.
Java
LoadOptions options = new LoadOptions();
options.setMemorySetting(MemorySetting.MEMORY_PREFERENCE);
Workbook workbook = new Workbook(“input.xlsx”, options);
Please also see the following documentation article that explains how to optimize memory usage for large files.
Please note, you will have to load the full workbook into memory to read first few lines of your worksheet.
If your problem still persists, then please provide us your Excel file. We will look into it and see if your issue could be fixed.
I have attached a sample file to main post.
Hi,
Hi Amjad,
Hi Jai,
Thanks for your posting and using Aspose.Cells for Java.
We have tested this issue on JDK 1.6. The CPU usage goes to 40% for just a micro second and goes to 6-10% later. And it all took a 3-4 seconds. We think it is normal. Your file also contains large amount of data from range A1:ED1500, these are almost 134x1500 = 201000 cells so that is taking a little more CPU usage.