Skip to content

Out of Memory #52

@GaoLinHuang

Description

@GaoLinHuang

Hello, I encountered a memory overflow problem. Locate the following Demo:

Task.Run(async() => {

            while (true)
            {
                try
                {
                    using (IKnownFolder appsFolder = KnownFolderHelper.FromCanonicalName("AppsFolder"))
                    {
                        if (appsFolder == null) continue;
                        foreach (var item in appsFolder)
                        {
                            if (!item.Properties.DefaultPropertyCollection.Contains("System.Link.TargetParsingPath")) continue;
                        }
                    }    
                }
                catch (Exception ex)
                {

                    System.Diagnostics.Debug.WriteLine(ex);
                }
                await Task.Delay (1000);
            }
        });

I hope I can get your help!
I wish you a happy life!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions