Skip to content

Rising memory consumption in this snippet #691

@peterchen-cp

Description

@peterchen-cp

I see continuous increase in memory in the following snippet:

   auto root = YAML::Load("{ x : 1 }");
   while(1)
   {
      YAML::Node n;
      n.push_back(root["x"]);
   }

I see that m_pMemory->m_nodes increases with each iteration.

Is this intended behavior?

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