Skip to content
Discussion options

You must be logged in to vote

We don't have caches. The default allocator does not return memory to the OS immediately. Memory fragmentation can also prevent memory from being reclaimed by the system.

Compared to the raw SQL, we performed more heap allocations.

We did not implement any special Drop. If memory still "leaks" after switching allocators, it may be due to one of our dependencies.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@cooronx
Comment options

@Huliiiiii
Comment options

Answer selected by cooronx
@cooronx
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants