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
Adds Sqlite3.release/2 for prepared statements (#155)
* Adds exqlite_release
* Manually call release on the prepared statements
The garbage collector will come back through later and release the
opaque nif resource. This will at least reclaim a large portion of the
memory taken up by the prepared statement.
* Update documentation and changelog
* Adds tests for Sqlite3.release/2
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,8 @@
1
1
# Changelog
2
2
3
3
## [Unreleased](unreleased)
4
-
4
+
### Fixed
5
+
- Fixed perceived memory leak for prepared statements not being cleaned up in a timely manner. This would be an issue for systems under a heavy load. [#155](https://github.com/elixir-sqlite/exqlite/pull/155)
0 commit comments