Closed
Description
Hi,
I'm using MixPanel 4.0.6.
When my share extension (which has a memory size limit) tries to flush, the memory grows until crashing.
It seems like loadEntitiesInBatch
always uses a batchSize of Int.max, leading to readRows
not using any limit for the SELECT query.
As a result, rows.append(entity)
makes rows
array growing unbounded.
I think loadEntitiesInBatch
should be called in a paginated way for flushing to be memory-consistent.
Metadata
Metadata
Assignees
Labels
No labels