[BUGS] BUG #3680: memory leak when excuting a SQL "select count(id) from chinatelecom;"

2007-10-16 Thread ssurui
The following bug has been logged online: Bug reference: 3680 Logged by: ssurui Email address: [EMAIL PROTECTED] PostgreSQL version: 8.2.3 Operating system: Redhat LINUX Advance server 3 Description:memory leak when excuting a SQL "select count(id) from chinate

Re: [BUGS] BUG #3680: memory leak when excuting a SQL "select count(id) from chinatelecom;"

2007-10-17 Thread ssurui
e system memory, that may be a leak. What you are probably seeing is just normal use of RAM resources. You weren't really specific about what numbers you were using to make your determination, so I can only speculate. On Oct 16, 2007, at 8:43 PM, ssurui wrote: The following bug has been

Re: [BUGS] BUG #3680: memory leak when excuting a SQL "selectcount(id) from chinatelecom;"

2007-10-17 Thread ssurui
Thank you for the explanations. My program is running 4 months, it has never exit because of the shortage of memory. But the 'free' memory (observing by top command) is kept on about 20MB (The database server has 2GB DDR RAM). According to you explanations, when I "malloc" a buffer of 30MB, the