Re: What Determines VSIZE allocation?

2009-01-15 Thread Bill Bumgarner
On Jan 15, 2009, at 10:26 PM, Tobias Zimmerman wrote: So, moral of the story: GC apps in 64-bit mode allocate themselves a tremendous amount of virtual memory, but unless they are actually *using* a lot of VM, then there is nothing to worry about. Did I get that right? That is correct. Ad

Re: What Determines VSIZE allocation?

2009-01-15 Thread Tobias Zimmerman
> > I believe, if I understood Bill Bumgarner's message correctly, is that > the 8GB range being assigned to the app is due in part to the design > of the garbage collector, libauto. I doubt that Apache is compiled to > use the garbage collector at all and thus, is not having that memory > range al

Re: What determines VSIZE allocation?

2009-01-15 Thread Greg Parker
On Jan 15, 2009, at 8:55 AM, Michael Ash wrote: On Thu, Jan 15, 2009 at 1:59 AM, Bill Bumgarner wrote: For example, an application's VSIZE might be growing over time because it is mmap()'ing a bunch of files (or a few small files). If the app fails to unmap, the VSIZE will grow and the a

Re: What determines VSIZE allocation?

2009-01-15 Thread Michael Ash
On Thu, Jan 15, 2009 at 1:59 AM, Bill Bumgarner wrote: > On Jan 14, 2009, at 9:40 PM, Michael Ash wrote: >> >> On Wed, Jan 14, 2009 at 5:31 PM, Tobias Zimmerman >> wrote: >>> >>> I know there are people who will say "VSIZE doesn't matter if there is no >>> paging", >> >> This is kind of like that

Re: What determines VSIZE allocation?

2009-01-14 Thread Bill Bumgarner
On Jan 14, 2009, at 9:40 PM, Michael Ash wrote: On Wed, Jan 14, 2009 at 5:31 PM, Tobias Zimmerman wrote: I know there are people who will say "VSIZE doesn't matter if there is no paging", This is kind of like that famous question, "Have you stopped beating your wife?" VSIZE doesn't matter,

Re: What determines VSIZE allocation?

2009-01-14 Thread Michael Ash
On Wed, Jan 14, 2009 at 5:31 PM, Tobias Zimmerman wrote: > I know there are people who will say "VSIZE doesn't matter if there is no > paging", This is kind of like that famous question, "Have you stopped beating your wife?" VSIZE doesn't matter, period. Paging doesn't enter into it. > but if I

Re: What determines VSIZE allocation?

2009-01-14 Thread Bill Bumgarner
On Jan 14, 2009, at 2:31 PM, Tobias Zimmerman wrote: I have searched for an answer to this question, including in Amit Singh's book, but have not found the answer (at least, not in a form that I recognize it). I have a fairly simple Cocoa app that creates an NSStatusItem with a small menu.

Re: What determines VSIZE allocation?

2009-01-14 Thread Andrew Farmer
On 14 Jan 09, at 14:31, Tobias Zimmerman wrote: I have searched for an answer to this question, including in Amit Singh's book, but have not found the answer (at least, not in a form that I recognize it). I have a fairly simple Cocoa app that creates an NSStatusItem with a small menu. It is

What determines VSIZE allocation?

2009-01-14 Thread Tobias Zimmerman
I have searched for an answer to this question, including in Amit Singh's book, but have not found the answer (at least, not in a form that I recognize it). I have a fairly simple Cocoa app that creates an NSStatusItem with a small menu. It is compiled using Garbage Collection and in 64bit mode (i