new_in_town
10/13/2024, 9:53 AMList collections: []
Memory (in "systemctl status"): 592 M
NOTE: A collection using this model https://huggingface.co/typesense/models/tree/main/distiluse-base-multilingual-cased-v2
existed in the past, that collection was deleted. But the model files are still here:
/var/lib/typesense/models/distiluse-base-multilingual-cased-v2/
2.
Created collection, defined schema.
In schema: used this model https://huggingface.co/typesense/models/tree/main/distiluse-base-multilingual-cased-v2
model.onnx 539 M
List collections: one collection
"num_documents": 0
Memory (in "systemctl status"): 1.1G
3.
Imported documents (part1)
"num_documents": 25
Memory (in "systemctl status"): 1.6G
Memory RES (column in "top"): 1.2g
4.
After some operations with this collection
(attempt to insert same 25 documents, may be deleted collection and created again)
Memory (in "systemctl status"): 614.4M
Memory RES (in "top"): 661M
5.
Import documents (part2)
"num_documents": 384
Memory (in "systemctl status"): 1.3G
Memory RES (in "top"): 1.4g
So, the question is: why it takes 1.3 - 1.6G RAM when the model is only 0.6G ?
More details in thread.