Hi, is there a way to estimate the weight of the J...
# community-help
g
Hi, is there a way to estimate the weight of the JSON returned by the .documents().export() method ? I'm running it in a docker container that is crashing doing the export. I cannot catch and log anything so I suspect a memory issue. I'm running a container with 8Go of allocated memory and wonder if the export would not exceed it.
k
We recently made an optimization for export that uses too much memory. There is already a fix that will be going out in a 0.24.1 patch release this week.
I can share a fixed temporary build if you can tell me how you are running Typesense.
g
I have an instance in typesense cloud running v0.23.0.rc27 I'm using Typesense package v1.4.5 for executing the export I haven' checked yet what would be breaking going to 0.24 🤔
k
Oh then this issue is not related to that change.
Can you try on 0.24.0 docker first? Since you already use it locally.
Or are you saying that you are running the export script inside Docker?
g
yes I'm running the export script inside Docker running in Google cloud run
But you might be right, I should try somehow to do the export locally targeting my remote instance
I found that was not related at all from the weight of this request but it was because of another asynchronous task that was silently crashing the container during the export. thanks for the help
👍 1