Skip to content

(*smallWBuf).Write holds memory #95

Closed
@SergeiHaidukov

Description

@SergeiHaidukov

Hello !
I call a function in tarantool and pass ~10MB []map[string]interface{}. After that, memory is allocated on the heap, but it is not released after the procedure is executed. What can be done about it ?

Showing top 10 nodes out of 62

  flat  flat%   sum%        cum   cum%
0.78GB 43.04% 43.04%     0.78GB 43.04%  github.com/tarantool/go-tarantool.(*smallWBuf).Write
0.63GB 34.80% 77.84%     0.63GB 34.80%  github.com/tarantool/go-tarantool.(*smallWBuf).WriteString
0.11GB  5.78% 83.62%     0.19GB 10.43%  gopkg.in/vmihailenco/msgpack%2ev2.decodeMap
0.10GB  5.68% 89.30%     0.10GB  5.68%  github.com/tarantool/go-tarantool.(*smallWBuf).WriteByte
0.05GB  2.87% 92.16%     0.05GB  2.87%  github.com/json-iterator/go.(*Stream).Write

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