Storing large documents in RavenDB causes the client to go out of memory

We are trying to use RavenDB to store an object, which when serialized in JSON is about 800K.

Saving 1 object takes about 100 ms on the RavenDB server, and we dose them and save 10 during the creation of a new object every 100 ms.

In the end, we run out of memory on the client, because we see that the server cannot store them fast enough.

Is this a known issue, if so, how can this be optimized?

+4
source share
1 answer

I came across something similar. Disabling profiling through:

store.Conventions.DisableProfiling = true; 

being your DocumentStore

Worked for me when I did not have enough memory.

I would also suggest looking at (and finding) the RavenDB mailing list. It really helped me get answers, and many times my questions have already been answered. See http://groups.google.com/group/ravendb/

+1
source

Source: https://habr.com/ru/post/1384210/


All Articles