chroma automatically persists
In the latest versions loading is pretty easy. To "load" it, just setup the vector store and do
index = VectorStoreIndex.from_vector_store(vector_store)
-- this will load from an existing vector store you created (only used for vector store integrations)
you can set the chunk size in the service context.
Default is 1024
service_context = ServiceContext.from_defaults(chunk_size=1024)
index = VectorStoreIndex.from_documents(documents, service_context=service_context, storage_context=storage_context)