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

Nokogiri hangs with large files #55

Closed
wants to merge 2 commits into from
Closed

Nokogiri hangs with large files #55

wants to merge 2 commits into from

Conversation

zenzei
Copy link
Contributor

@zenzei zenzei commented Aug 8, 2013

Hi Empact.

Some (long) time ago you pull into your fork one modification I made for large files that were hanging with nokogiri, and you made a little update regarding namespaces to it (d4a8e6f779e38c113967f944869dd45f498e4388).

Today I decide to change my version and use your fork that looks a lot more updated (congratulations!). But when trying to process the same large files, the process hangs again.

So I decide to put my original lines in your version (in both methods, read_cells and read_shared_strings), and the code start to work again.

Unfortunately I can't upload the files because has private data, but is a file with 300.000 rows and 3 columns. In each row; the first cell has an average of 30 chars, the second one 11 chars, and in the last one, only 1 char.

Is not very clear to me why is this happening, and although I already update my fork with your changes and my fix, but it would be great if you can consider that modification cause i prefer to use your version that is by far more complete :)

zenzei added 2 commits August 8, 2013 11:23
…l searches with exact root searches in read_shared_strings and read_cells.

I also had to remove namespaces from that docs cause xpath was not findind the nodes.

See original commit at d4a8e6f779e38c113967f944869dd45f498e4388
@simonoff simonoff closed this in 4a1353d Sep 18, 2014
@simonoff
Copy link
Member

@zenzei I merged and extended your changes. Thank you!

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

Successfully merging this pull request may close these issues.

2 participants