You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Python 3.10.9 and vectordb==0.0.20 (latest as of this date), and I have a trouble when restoring saved data.
I have two large files A and B, and when I index them, snapshot them and restore them separately, everything works fine.
When I read and parse files A and B, index all the documents in both, then save them together, the snapshotting is successful. However, when trying to restore the data, I get the following error:
Traceback (most recent call last):
...
File "~/.local/lib/python3.10/site-packages/vectordb/db/executors/inmemory_exact_indexer.py", line 86, in restore
self._indexer = InMemoryExactNNIndex[self._input_schema](index_file_path=snapshot_file)
File "~/.local/lib/python3.10/site-packages/docarray/index/backends/in_memory.py", line 68, in __init__
self._docs = DocList.__class_getitem__(
File "~/.local/lib/python3.10/site-packages/docarray/array/doc_list/io.py", line 810, in load_binary
return cls._load_binary_all(
File "~ /.local/lib/python3.10/site-packages/docarray/array/doc_list/io.py", line 608, in _load_binary_all
proto.ParseFromString(d)
google.protobuf.message.DecodeError: Error parsing message
Given previous tests I made and explanation, I suspect the issue is that the index is too large, hence raising the error. Does anyone know what can be done to fix this issue?
The text was updated successfully, but these errors were encountered:
Hey @JoanFM, yes it does. Small / medium files work well separately, but when trying to restore from a large file (~3GB, combining multiple small files), it crashes with this error. Maybe it is because of an array index out of bounds due to a 32-bit integer overflow, since the max 32-bit int is around 2.7B, but I do not know.
Hello,
I am using Python 3.10.9 and
vectordb==0.0.20
(latest as of this date), and I have a trouble when restoring saved data.I have two large files
A
andB
, and when I index them, snapshot them and restore them separately, everything works fine.When I read and parse files
A
andB
, index all the documents in both, then save them together, the snapshotting is successful. However, when trying to restore the data, I get the following error:Given previous tests I made and explanation, I suspect the issue is that the index is too large, hence raising the error. Does anyone know what can be done to fix this issue?
The text was updated successfully, but these errors were encountered: