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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Bug: Memory crash when importing large base from Airtable #4649

Closed
1 task done
itay-sgh opened this issue Dec 11, 2022 · 1 comment
Closed
1 task done

馃悰 Bug: Memory crash when importing large base from Airtable #4649

itay-sgh opened this issue Dec 11, 2022 · 1 comment
Assignees
Labels
馃悰 Type: Bug Something is broken or incorrect unexpectedly.

Comments

@itay-sgh
Copy link

Please confirm if bug report does NOT exists already ?

  • I confirm there is no existing issue for this

Steps to reproduce ?

Trying to import a base consists of 3 tables each table around ~35k rows with ~120 fields each.
It crashed after reading all the records from the first table during "Importing".
I've monitored the container stats and memory get's very high and crashes.

pg-nocodb-1   | <--- Last few GCs --->
pg-nocodb-1   | 
pg-nocodb-1   | [12:0xffff8868a3f0]  1861388 ms: Scavenge (reduce) 7803.6 (8238.2) -> 7803.4 (8238.2) MB, 36.8 / 0.0 ms  (average mu = 0.386, current mu = 0.497) allocation failure 
pg-nocodb-1   | [12:0xffff8868a3f0]  1861429 ms: Scavenge (reduce) 7804.3 (8238.2) -> 7804.1 (8238.2) MB, 37.5 / 0.0 ms  (average mu = 0.386, current mu = 0.497) allocation failure 
pg-nocodb-1   | [12:0xffff8868a3f0]  1889033 ms: Scavenge (reduce) 7805.1 (8238.2) -> 7804.9 (8238.7) MB, 27596.0 / 0.0 ms  (average mu = 0.386, current mu = 0.497) allocation failure 
pg-nocodb-1   | 
pg-nocodb-1   | 
pg-nocodb-1   | <--- JS stacktrace --->
pg-nocodb-1   | 
pg-nocodb-1   | FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
pg-nocodb-1   | Aborted

Desired Behavior

Handle large bases and keep importing.

Project Details

nocodb docker image on Mac M1
nocodb version 0.100.2
NODE OPTIONS: --max_old_space_size=8192
Docker resources:
CPUs - 5
Memory - 9GB
Swap - 4GB

Attachements

No response

@o1lab o1lab assigned mertmit and unassigned o1lab Dec 11, 2022
@dstala dstala added the 馃悰 Type: Bug Something is broken or incorrect unexpectedly. label Dec 26, 2022
@mertmit
Copy link
Member

mertmit commented Aug 30, 2023

Seems like a duplicate of #4650 which is resolved.
Feel free to raise an issue again if issue persist for you.

@mertmit mertmit closed this as completed Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
馃悰 Type: Bug Something is broken or incorrect unexpectedly.
Projects
None yet
Development

No branches or pull requests

4 participants