Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

Fix high memory usage regression due to namespaces#132

Open
alx75 wants to merge 1 commit intopythonicrubyist:master from
alx75:fix-high-memory-usage
Open

Fix high memory usage regression due to namespaces #132
alx75 wants to merge 1 commit intopythonicrubyist:master from
alx75:fix-high-memory-usage

Conversation

@alx75
Copy link

@alx75 alx75 commented May 27, 2025
edited
Loading

This fixes the high memory usage regression that was introduced in 2.6.2.
This fixes issue #122

Without this commit, when I try to parse a 33MB xlsx file (500_000 rows) and it consumes 8GB. With this commit it's consuming few hundreds (~300MB)

The reason lies in the namespaces due to all hash instantiation it does for all nodes.

Before this commit:
Screencast from 2025年05月27日 09-54-59.webm

With this commit:
Screencast from 2025年05月27日 09-58-59.webm

This fixes the high memory usage regression that was introduced in 2.6.2
Copy link

@pythonicrubyist is there any reason we can't get this one merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /