#community-help

Memory Usage Error with Typesense Cloud Service

TLDR Jeff.Cheng asked about an out-of-memory error with Typesense Cloud service. Kishore Nallan clarified how total memory usage is calculated, leading Jeff.Cheng to consider upgrading memory resources.

Powered by Struct AI

1

3
2mo
Solved
Join the chat
Aug 03, 2023 (2 months ago)
Jeff.Cheng
Photo of md5-04e959559d4c5e99ad09819e10fb5323
Jeff.Cheng
04:25 AM
HiHi!
We use Typesense cloud service as our search engine, 2 GB RAM & 2 vCPUs,
and now we had inserted many data into a specific collection.

But 1 hours ago, our monitor system shows this error message
[Errno 422] Rejecting write: running out of resource type: OUT_OF_MEMORY
and cannot upsert our data into collection.

https://threads.typesense.org/kb/2Lac9
After checking threads.typesense post and the monitoring UI on typesense cloud,
we couldn't make sure that memory usage is above the threshold or not
(Like the image shows)

Can anyone help us to identify this question?
Thanks!
Image 1 for HiHi!
We use Typesense cloud service as our search engine, 2 GB RAM & 2 vCPUs,
and now we had inserted many data into a specific collection.

But 1 hours ago, our monitor system shows this error message
`[Errno 422] Rejecting write: running out of resource type: OUT_OF_MEMORY`」
and cannot upsert our data into collection.

<https://threads.typesense.org/kb/2Lac9>
After checking threads.typesense post and the monitoring UI on typesense cloud,
we couldn't make sure that memory usage is above the threshold or not
(Like the image shows)

Can anyone help us to identify this question?
Thanks!
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
04:27 AM
Total memory usage is swap usage + memory consumed which is exceeding 2 GB here.
Jeff.Cheng
Photo of md5-04e959559d4c5e99ad09819e10fb5323
Jeff.Cheng
04:33 AM
Got it. Thanks for the answer.
I'll talk to my colleague and consider upgrading memory resource ~

1