iTwin / itwinjs-core

Monorepo for iTwin.js Library
https://www.itwinjs.org
MIT License
617 stars 210 forks source link

Avoid loading all schemas / classes #4384

Closed grigasp closed 2 years ago

grigasp commented 2 years ago

For some iModels that have many or very large schemas, requesting all of them to be loaded costs a lot of memory that's not freed until the iModel is closed. In addition, loading them into memory is also costly time-wise.

grigasp commented 2 years ago

2.19 patch:

The changes additionally include options to configure memory cache sizes of sqlite connections used by the presentation manager (hierarchy cache & worker connections to the iModel).

3.5 change is coming up...

grigasp commented 2 years ago

3.5 changes: