Skip to content

Question about other data field and memory spike #31922

Discussion options

You must be logged in to vote

Hi I have a question :)

Milvus verson. 2.3.10 collection info

  • 1M rows
  • 768 dim
  • length 9800 varchar
  1. When I load a collection, a memory spike occurs. Why does that happen?
  2. When I load the same collection, the size of the memory spike varies. What could be the reason?
  3. It seems like the amount of memory loaded varies when a collection contains fields of different data types, such as integers, floats, and varchars, in addition to embeddings. Is this because the different data types also get loaded into memory, affecting the overall size?
  4. If the third question is correct, would the sizes for each data type be as follows?
bool: 1 byte
int8: 1 byte
int16: 2 bytes
int32: 4 bytes
int64: 8 byte…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@hjlee9182
Comment options

Answer selected by hjlee9182
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants