Skip to content

Fixed the memory usage display to show up correctly on project creation#5666

Merged
elebitzero merged 1 commit intoOpenRefine:masterfrom
elebitzero:issue-5665-memory-regression-fix
Mar 6, 2023
Merged

Fixed the memory usage display to show up correctly on project creation#5666
elebitzero merged 1 commit intoOpenRefine:masterfrom
elebitzero:issue-5665-memory-regression-fix

Conversation

@elebitzero
Copy link
Copy Markdown
Member

Fixes #5665

(Regression introduced by #5222 )

When I made an original change to make the memory% more accurate, it seemed to be working, but now it is broken, and parenthesis are required for the order of operations. Looks like it finally works as intended now since the memory% increases as more rows are read in. If you hit 100% on a large CSV file, the JVM will start thrashing and possibly get an OutOfMemory error.

Before:
23millionrows-progress-bug

After:
23millionrows-progress-fixed

@github-actions github-actions bot added the Type: Bug Issues related to software defects or unexpected behavior, which require resolution. label Mar 4, 2023
@elebitzero elebitzero merged commit 6aaf84d into OpenRefine:master Mar 6, 2023
@elebitzero elebitzero deleted the issue-5665-memory-regression-fix branch April 11, 2023 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Bug Issues related to software defects or unexpected behavior, which require resolution.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

On project creation memory usage reported incorrectly

2 participants