Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql General > Re: Memory use ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 15964 of 17437
Post > Topic >>

Re: Memory use in 8.3 plpgsql with heavy use of xpath()

by tgl@[EMAIL PROTECTED] (Tom Lane) Jul 3, 2008 at 12:33 PM

Gregory Stark <stark@[EMAIL PROTECTED]
> writes:
> That's just a special case of what would be expected to happen with
memory
> allocation anyways though. Few allocators return memory to the OS
anyways.

Well, that does happen on Linux for instance.  Since Matt knew in his
original re****t that the xpath leak was intra-transaction, I assumed
he must be using a platform where malloc/free can release memory back
to the OS --- else he couldn't have seen that behavior from outside
the backend.

Still, it's entirely possible that some sort of high-water-mark is
involved somewhere, perhaps in malloc's internal data structures.

			regards, tom lane

-- 
Sent via pgsql-general mailing list (pgsql-general@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
 




 2 Posts in Topic:
Re: Memory use in 8.3 plpgsql with heavy use of xpath()
stark@[EMAIL PROTECTED]   2008-07-03 10:42:36 
Re: Memory use in 8.3 plpgsql with heavy use of xpath()
tgl@[EMAIL PROTECTED] (T  2008-07-03 12:33:45 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 2:11:11 CST 2008.