Skip to content

ImageSharp buffers take up too much memory space #325

@hasanayan

Description

@hasanayan

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of ImageSharp
  • I have verified if the problem exist in both DEBUG and RELEASE mode
  • I have searched open and closed issues to ensure it has not already been reported

Description

I am only resizing and placing single rectangle to a PNG image (725kb). I checked my code and I dispose eveything related to ImageSharp after I am done. Still, I see (dotMemory) that ImageSharp use using a lot of memory

dotMemory ss

The first time I run my application, I get 5 of these objects and each time I run the application again it adds new one.

Not sure if there is a problem here or not but I would like to know if I am doing something wrong.

System Configuration

  • ImageSharp version: 1.0.0-alpha9-00194
  • Other ImageSharp packages and versions: ImageSharp.Drawing 1.0.0-alpha9-00194
  • Environment (Operating system, version and so on): windows 10 creators update
  • .NET Framework version: .netcore 2.0
  • Additional information:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions