Resolving Typesense Server Upload Issues Due to Insufficient Memory
TLDR Daniel had issues uploading data to a Typesense server. After recreating the server and encountering the same issue, Jason identified the problem as insufficient memory capacity.
Nov 16, 2021 (22 months ago)
Daniel
03:00 AM./typesense-server --data-dir=/tmp/typesense-data --api-key=samplekey95
client = typesense.Client({
'nodes': [{ 'host': 'localhost', 'port': '8108', 'protocol': 'http' }],
'api_key': 'samplekey95'
});
Kishore Nallan
06:08 AMDaniel
05:59 PMDaniel
06:00 PMDaniel
06:00 PMDaniel
06:01 PMJason
06:03 PMDaniel
06:03 PMDaniel
06:03 PMJason
06:03 PMDaniel
06:05 PMDaniel
06:06 PMDaniel
06:06 PMTypesense
Indexed 2764 threads (79% resolved)
Similar Threads
Troubleshooting Typesense Document Import Error
Christopher had trouble importing 2.1M documents into Typesense due to memory errors. Jason clarified the system requirements, explaining the correlation between RAM and dataset size, and ways to tackle the issue. They both also discussed database-like query options.


Problem with Loading Records on Typesense Server
Rafael had an issue with Typesense server loop during startup after loading 8M of 15M records. Kishore Nallan identified the issue as memory shortage and advised Rafael to allocate more server memory.
Importing data to Typesense Cloud with JS client
Zaiste attempted to import data to Typesense Cloud but encountered an error. Kishore Nallan explained the error was due to server side backpressure and suggested a curl approach for the import.


Bulk Import 50MB JSON Files Error - Timeout and Solutions
madhweep encounters an error while bulk importing JSON files. Kishore Nallan provided help, but the issue persists. Jason intervenes and after troubleshooting, they concluded the cluster had run out of memory causing the issue. The problem was resolved by using a cluster with sufficient memory. Daniel also experienced a similar issue, resolved by increasing the timeout.


Troubleshooting Write Timeouts in Typesense with Large CSVs
Agustin had issues with Typesense getting write timeouts while loading large CSV files. Kishore Nallan suggested chunking data or converting to JSONL before loading. Through troubleshooting, they identified a possible network problem at AWS and found a workaround.

