I believe Dave is correct that permgen is part of the heap.  As is the
oldgen and newgen, if memory serves.

As for limits, I've had difficulty setting a max heap size over 1024
while still being able to restart the CF server on Windows.  I can't
even reach 1.5 gb.  The way it was once explained to me is that CF
expects that memory block to be contiguous and that the OS places
something in one or more of the memory addresses above 1024 that makes
this impossible.  I can't tell you whether this is true, only that it
was told to me by a credible source (an Adobe employee) that I trust.
If anyone has any additional information on this, I'd love to know
more.  I get a lot of customer questions about this one and if I'm
relaying bad or incomplete information, I'd like to correct that.

On 5/20/06, Dave Ross <[EMAIL PROTECTED]> wrote:
> Dante,
>
> I'm pretty sure that MaxPermSize is actually *part* of the heap size - it's 
> just a cap on the permanent generation space in the heap (as the name 
> suggests).
>
> Regardless, for CF on Windows (assuming the box has more than 2gb of ram), I 
> would keep Xmx=1024m and -XX:MaxPermSize=192m. Anything above that and I've 
> found the 1.4.2 JVM to get unstable.
>
> Dave Ross
> http://www.coldspringframework.org
>
> >How large can the sum of the maximum heap size (-Xmx) and the maximum
> >permanent generation size (-XX:MaxPermSize) be for a JRun/CF process
> >on Windows? I'm aware of the 2GB limit for jvm processes on Windows,
> >but I would have thought that I could set max heap and max perm to any
> >combination as long as it was no bigger than 2GB (2048MB). Instead,
> >what I am finding is that CF will not start when (max heap + max perm)
> >is larger than 1.6GB, or 1640MB, to be precise.
> >
> >-dante
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241072
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to