Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manually invoking the GC leads to very bad performance if you read many files #252

Open
steffenhaug opened this issue Jan 31, 2024 · 0 comments

Comments

@steffenhaug
Copy link

I have a workload where i read thousands of Excel files, and using openxlsx without do-syntax is several orders of magnitudes faster, because over 99% of the time is spent GCing when I use do-syntax.

I'm fine with manually closing the file, but it would be nice if it was documented that using do-syntax manually invokes the GC, or if there is another way to solve the bug on Windoes that manually invoking the GC is suposed to fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant