Skip to content

Conversation

@mauroservienti
Copy link
Member

No description provided.

public async Task<(bool IsHighDirty, string DirtyMemory)> GetMemoryInformation(CancellationToken cancellationToken = default)
{
var httpResponse = await client.GetAsync("/admin/debug/memory/stats?includeThreads=false&includeMappings=false", cancellationToken);
var documentStore = await documentStoreProvider.GetDocumentStore(cancellationToken);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
var documentStore = await documentStoreProvider.GetDocumentStore(cancellationToken);
using var documentStore = await documentStoreProvider.GetDocumentStore(cancellationToken);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants