koolhazz / gperftools

Automatically exported from code.google.com/p/gperftools
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Memory usage grows exceedingly for certain allocation patterns. #545

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Compile the attached file:
g++ -g -O0 -o test -ltcmalloc -lpthread
2.Run and monitor memory usage grow.
3.

What is the expected output? What do you see instead?

Memory usage grows to over 20GB.

What version of the product are you using? On what operating system?

>uname -a
Linux oblast-dev1 2.6.18-348.6.1.el5 #1 SMP Tue May 21 15:29:55 EDT 2013 x86_64 
x86_64 x86_64 GNU/Linux

CentOS 5

tcmalloc version 2.0

Please provide any additional information below.

Compiled with gcc version 4.2.2

Original issue reported on code.google.com by amorgu...@gmail.com on 11 Jul 2013 at 4:59

Attachments:

GoogleCodeExporter commented 9 years ago
Already fixed

Original comment by alkondratenko on 13 Jul 2013 at 10:39