SQLite.swift icon indicating copy to clipboard operation
SQLite.swift copied to clipboard

Possible Memory Leak

Open lczvd opened this issue 2 years ago • 7 comments

Hi,

I just noticed something on version 0.13.3.

The Xcode Instruments is reporting the following leak:

leak

By the way, I'm using Xcode 14.0.1 and the app is running on iOS 14.6.

Any ideas on the possible source of this issue?

Thanks in advance!

lczvd avatar Oct 13 '22 17:10 lczvd

In the screenshot it looks like the allocation is happening inside SQLCipher, though? Maybe your app is leaking connections.

jberkel avatar Oct 17 '22 09:10 jberkel

More information is required. Can you provide a reproducible example?

nathanfallet avatar Oct 20 '22 09:10 nathanfallet

Hi, I have the same issue so I will give you guys the stack trace of 3 sqlcipher_mem_malloc leak in the project AllLeaks

the first leak Leak_1

the second leak Leak_2-1 Leak_2-2

and the last leak Leak_3-1 Captura de Tela 2023-01-19 às 2 22 42 PM

davifmarcelino avatar Jan 19 '23 17:01 davifmarcelino

Do you need more info to work on that? Is there any other way we could help you?

raulperesgoes avatar Jan 24 '23 12:01 raulperesgoes

I encounter the exact same problem... any improvement?

GuillaumeUnice avatar Jul 08 '24 23:07 GuillaumeUnice