peterhuene / sqlite-net-wp8

A C++/CX wrapper for SQLite functions that sqlite-net depends on. Can be used as an alternative to csharp-sqlite on Windows Phone 8. This library is released under the MIT license.
MIT License
74 stars 65 forks source link

Have you experienced any memory related problems? #36

Open gabrielmuresan opened 10 years ago

gabrielmuresan commented 10 years ago

I am currently looking into the cause of a memory leak in one application that I had make compatible for wp8.

I have tested sqlite-net-wp8 from nuget in one of the applications and adding for example 10.000 insert statements in a transaction on button press increases the memory usage without releasing it anytime soon.

My example consisted in a button to run the transaction every time it is pressed and 2 labels that were updated with the current memory usage and peek memory usage.

sadly I don't have any code now because I lost the solution to a computer failure, but if needed, the code can be easily reproduced.

my question remains if you or anybody else experienced any memory related issues while using sqlite-net and/or sqlite-net-wp8?

thank you!

peterhuene commented 10 years ago

Hi @gabrielmuresan. Sorry I didn't reply to this issue earlier. I have not seen issues with memory consumption, but confirming a leak when there's a garbage collector in play can be tricky. I'm going to leave this issue open in case anyone else wants to comment on their experiences.