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

fix: dynamic batch based on byte size #5954

Merged
merged 5 commits into from
Jun 26, 2023
Merged

fix: dynamic batch based on byte size #5954

merged 5 commits into from
Jun 26, 2023

Conversation

mertmit
Copy link
Member

@mertmit mertmit commented Jun 24, 2023

Change Summary

This should fix heap out of memory issues on import

Change type

  • fix: (bug fix for the user, not a fix to a build script)

Signed-off-by: mertmit <mertmit99@gmail.com>
@mertmit mertmit requested a review from dstala June 24, 2023 07:53
Signed-off-by: mertmit <mertmit99@gmail.com>

importedCount += insertArray.length;
insertArray = [];
if (assocTableData.length % BULK_DATA_BATCH_COUNT === 0) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does line 305 to 329 repeating ? if so let make it a function (DRY)

@github-actions
Copy link
Contributor

github-actions bot commented Jun 24, 2023

Uffizzi Ephemeral Environment Deploying

☁️ https://app.uffizzi.com/github.com/nocodb/nocodb/pull/5954

⚙️ Updating now by workflow run 5366049745.

What is Uffizzi? Learn more!

Signed-off-by: mertmit <mertmit99@gmail.com>
Signed-off-by: mertmit <mertmit99@gmail.com>
Signed-off-by: mertmit <mertmit99@gmail.com>
@dstala dstala merged commit 49c1a18 into develop Jun 26, 2023
15 checks passed
@dstala dstala deleted the fix/at-job-size branch June 26, 2023 05:48
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.

None yet

3 participants