Skip to content

High usage of memory space in the DialOpen() method #638

@felipeparpinelli

Description

@felipeparpinelli

Hi,
Our application receives a high load of requests per minute, about 100k/min. We noticed that our memory steadily grown. Doing the memory profiling, we notice a high in-use memory size in the following piece of code inside pq/conn.go in method DialOpen():
screen shot 2017-07-20 at 11 56 37

So, the doubt is: there is a limit to this grown (is it normal?) or we can consider a memory leak?
We didn't observe a decrease in the size of this buffer.

  • go version go1.7.6 linux/amd64
  • lib/pq version - commit: dd1fe20 (master)

Thank you for your attention.

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