× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
bobfromtn reported 2017-07-06T00:29:08Z  · SachinPrakash last modified 2017-07-06T20:03:39Z

Out of Heap Space iterating / reading through Excel files


customer request
Dev
Kin-Hong Wong
kin-hong
QA
Sachin Prakash
SachinPrakash
Priority Blocker
Complexity Unknown
Component Open API - IO
Version 18.0

In my real project, I have 133 Excel files, each of which is about 3MB.  In my actual project, by the time I open and read the 20th or so file, the script hangs and then will typically give a Java out of heap space message or it gives a GC error message.  Since the contents of the actual Excel files are proprietary, I created a project to attempt to replicate the problem.  In this replicated version, it makes multiple passes through the files before the issue is triggered because the Excel files are smaller.  

 

Especially in the project to replicate the problem, I played with forcing garbage collection, but this does not seem to help.  If you comment out the line in the script (see script comment) that does a read row, then the script executes quickly to completion.  So, I imagine that even that first row/line read causes all/much of the file to be pulled into memory.  But the memory does not seem to be released.

In my reproduction, I had 25 Excel files in the input, but because of upload limitations on the support ticket, I could not include as many.  You likely will need to duplicate some of the demo excel files to help reproduce the issue.

4 attachments

Issue #15372

Closed
Fixed
Resolved 2017-07-06T18:16:52Z
 
 
Completion
No due date
Fixed Build 18.0.17-6, 19.0.0-beta-6
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017