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

Memory Leaks during batch point inserts #52

Open
PJanko opened this issue Oct 25, 2023 · 2 comments
Open

Memory Leaks during batch point inserts #52

PJanko opened this issue Oct 25, 2023 · 2 comments

Comments

@PJanko
Copy link

PJanko commented Oct 25, 2023

Hello

I'm using the library using the REST client to batch insert points (by 1000) in a cloud QDrant cluster.
After 185000 points inserted my script crashed, running out of heap. (the node process was using 4GB of memory at that time)

I can not deep dive into the issue, but I was able to perform my task using the REST API directly.

Regards

@hiepxanh
Copy link

increase memory limit using:

MacOS:

export NODE_OPTIONS="--max-old-space-size=8192"

-----------------------------------------------

Windows:

set NODE_OPTIONS="--max-old-space-size=8192"

can help you prevent memory leak, BTW you need batch update

@Rendez
Copy link
Collaborator

Rendez commented Mar 1, 2024

Could you please share a showcase with the specific example causing this?

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

No branches or pull requests

3 participants