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
There have been persistent memory leaks observed during the retrieval of search results from SearchKit. The root cause was identified as the incorrect use of .takeUnretainedValue() method. This misuse led to a discrepancy in the memory management, resulting in thousands of objects not being deinitialized properly. The memory leaks caused an increase in memory usage over time, potentially degrading the performance of the app.
To Reproduce
Perform multiple search operations using the SearchKit.
Monitor the memory usage through a profiling tool.
The number of leaks should increase every time you perform a search.
Expected Behavior
At the end of the function the RefCount should be 0 for each object form SeachKit.
Version Information
CodeEdit: 0.1.0-dev (38)
macOS: 15.4
Xcode: 14.5
Additional Context
No response
Screenshots
The text was updated successfully, but these errors were encountered:
Description
There have been persistent memory leaks observed during the retrieval of search results from
SearchKit
. The root cause was identified as the incorrect use of.takeUnretainedValue()
method. This misuse led to a discrepancy in the memory management, resulting in thousands of objects not being deinitialized properly. The memory leaks caused an increase in memory usage over time, potentially degrading the performance of the app.To Reproduce
Expected Behavior
At the end of the function the RefCount should be 0 for each object form SeachKit.
Version Information
CodeEdit: 0.1.0-dev (38)
macOS: 15.4
Xcode: 14.5
Additional Context
No response
Screenshots
The text was updated successfully, but these errors were encountered: