Robert Haas <robertmh...@gmail.com> writes: > I tried this. At least on my fairly vanilla MacOS X desktop, an mlock > for a larger amount of memory than was conveniently on hand (4GB, on a > 4GB box) neither succeeded nor failed in a timely fashion but instead > progressively hung the machine, apparently trying to progressively > push every available page out to swap. After 5 minutes or so I could > no longer move the mouse. After about 20 minutes I gave up and hit > the reset button. So there's apparently no value to this as a > diagnostic tool, at least on this platform.
Fun. I wonder if other BSDen are as brain-dead as OSX on this point. It'd probably at least be worth filing a bug report with Apple about it. regards, tom lane -- Sent via pgsql-hackers mailing list (firstname.lastname@example.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers