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

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space #34

Open
PatriRor opened this issue Nov 18, 2015 · 1 comment
Open

Comments

@PatriRor
Copy link

When I try parse a large text file (.docx) I get

Yomu.read :text, data
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

but if I convert the file to a .doc works well. Is there a solution for .docx files?

@nruth
Copy link

nruth commented Jan 13, 2016

How large is the file? Can you provide an example docx that crashes?

Letting the user configure available memory by adding VM environment variables to https://github.com/Erol/yomu/blob/master/lib/yomu.rb#L265 might help.

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

2 participants