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
{{ message }}
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.
With canner 2.0.10 and above and Google Firestore as a back-end I'm running into performance problems and out-of-memory errors when editing collections with 400+ entities.
A single edit in <array ui="table"/> can result in jump in memory usage by ~400MB.
The issue seems to come from React component state update sequence where canner hocs/utils.js function parseConnectionToNormal traverses the whole collection on any view, save or edit of any field in any entity.
As a temporary workaround to avoid OOM I can use <array ui="tableRoute"/> however due to issue with filter state which is not saved on navigation it becomes unusable for editors to work with large content set.
The text was updated successfully, but these errors were encountered:
With canner 2.0.10 and above and Google Firestore as a back-end I'm running into performance problems and out-of-memory errors when editing collections with 400+ entities.
A single edit in
<array ui="table"/>
can result in jump in memory usage by ~400MB.The issue seems to come from React component state update sequence where canner
hocs/utils.js
functionparseConnectionToNormal
traverses the whole collection on any view, save or edit of any field in any entity.The memory snapshot after single save operation:
Trace to the function:
The associated schema definition: https://gist.github.com/valentinalexeev/9fa39f3aabb1d83027c1b99ba097dc1b.
As a temporary workaround to avoid OOM I can use
<array ui="tableRoute"/>
however due to issue with filter state which is not saved on navigation it becomes unusable for editors to work with large content set.The text was updated successfully, but these errors were encountered: