Skip to content

Memory is not given to the system #125

Description

@khromenokroman

@p-ranav Hello, tell me what I'm doing wrong, the problem is as follows

{
        tabulate::Table table;
        std::vector<std::variant<std::string, const char *, std::string_view, tabulate::Table>> vec(
            60, std::string("asdfsrgwerqfewf32csedwefseds"));
        for (auto i = 0; i < 40000; i++) {
            table.add_row(vec);
        }
    }
    // memory not rest :(
    std::cout << "wait\n";
    sleep(20);

memory is not released, as soon as the process is completed, memory is released, but I need to be able to output tables several times within the same process, but under current conditions I can not do this, since memory is allocated new each time and memory runs out, I need help, thank you

Activity

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

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