Issue Loading 60MB File in UI with Grid.js and Aspose Java

Hi Team, We attempted to load a 60MB file using Grid.js and Aspose Java, but the file didn’t render in the UI.

Could you help identify possible reasons for this? Here’s the file link for reference: 60 MB Excel Example File - Sample Excel Dummy File Download

@sarathepiq

Loading a large file, such as a 60MB Excel file, in the UI using Grid.js and Aspose Java can lead to rendering issues due to several factors. Here’s a breakdown of the potential causes, solutions, and next steps to resolve the problem:

  1. Cause: Memory Limitations
    Your application may not have enough memory allocated to handle large files.

    Solution: Increase the heap size in your Java application to ensure it can accommodate larger datasets.

  2. Cause: File Format Compatibility
    The file format may not be supported by Aspose.Cells, or the file could be corrupted.

    Solution: Verify that the file format is compatible with Aspose.Cells and check for any corruption.

  3. Cause: Grid.js Configuration
    The configuration settings of Grid.js may not be optimized for large datasets.

    Solution: Adjust the Grid.js settings to implement pagination or lazy loading, which can significantly improve performance when handling large files.

  4. Cause: Lack of Error Handling
    Without proper error handling, it can be difficult to identify the source of the issue.

    Solution: Implement error handling to catch exceptions during the file loading process, which will provide insights into any underlying problems.

  5. Cause: File Size Testing
    The issue may be specifically related to the file size.

    Solution: Test with smaller files to determine if the rendering issue persists, which can help isolate the problem.

Here’s a minimal code snippet to load an Excel file into GridWeb:

// Assuming gridweb is your GridWeb control
String filePath = "path/to/your/largefile.xlsx";
gridweb.importExcelFile(filePath);

Next Steps: If you continue to experience issues after implementing these solutions, consult the Aspose documentation for any specific limitations or recommendations regarding large file handling.

Please let me know if you need further assistance!

@sarathepiq
GridJs actually uses the Aspose.Cells API.
You can try using Aspose.Cells API, e.g., new Workbook(filepath) to check the cost time.
We apologize for the large file sizes; unfortunately, GridJs may not function as smoothly as expected.

@sarathepiq
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): CELLSGRIDJS-1816

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.