-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate possible memory leaks #34
Comments
Second round of investigations:
|
Third round of investigations:
|
I think input will also leak memory. e.g. when creating a new collection input a new block of memory is allocated and just the pointer is given to y-crdt. But the pointer is never released. I think a finalizer is needed here. |
@LSViana Can we close this? |
@SebastianStehle No, the initial work I did here was useful for detecting and fixing memory leaks. Given the previous discoveries, I believe it's important to check for possible leaks in the pending items too. It's not a complex task, it's more laborious and repetitive, I'll try to do a little bit every day. |
In #18, there has been a mention of possible memory leaks in the operations executed through YDotNet.
This issue intends to:
Investigated scenarios (this list is not final):
Doc
Id
Guid
CollectionId
ShouldLoad
AutoLoad
Clone()
andDispose()
Text
string
representationArray
Map
XmlText
XmlElement
Branch
Other fixes:
Delegate
disposalThe text was updated successfully, but these errors were encountered: