It's probably more correct to say the jvm heap and permanent space has to be
under 2GB for a 32-bit arch. So if for some reason you had a small permanent
space, the heap could be slightly bigger than 1.8GB. But that's a finer
point than most people need to have. CF needs at least 128 for the permanent
space, so the 1.8 limit for the heap. 64-bit doesn't fall under this memory
limitation, but to run CF on 64-bit it would have to be CF8 on Solaris since
that's all that is supported currently.

If you are running high on your heap sizes, you may need to switch out your
GC engine to one that can handle the heavier load. Here's an article on
this...

http://labs.fusionlink.com/katapult/index.cfm?page=articles/jvmtuning

Also, take a closer look at your code to see if you can trim stuff there.
Whenever optimizing the server check your CF code first to see if anything
is taking up a larger than normal memory block. For example, doing a simple
select * on a table query could easily mess with you.

John Mason
[EMAIL PROTECTED]
770.337.8363
 
www.FusionLink.com - ColdFusion and Flex hosting
Now offering ColdFusion 8 Enterprise hosting
FREE Subversion hosting


-----Original Message-----
From: Brian Kotek [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 07, 2007 3:04 PM
To: CF-Talk
Subject: Re: coldfusion 8 and memory

On 32-bit processor machines, the largest contiguous memory address space
the operating system can allocate to a process is 1.8GB. Because of this,
the maximum heap size can only be set up to 1.8GB. On 64-bit processor
machines, the 1.8 GB limit does not apply, as 64-bit processor machines have
a larger memory address space.

On 8/7/07, Tony <[EMAIL PROTECTED]> wrote:
>
> ok :)
>
> (holding back smart ass remark)
>
> any idea on the limit for the windows jvm?
>
> tony
>
> thanks!
>
> On 8/7/07, Brian Kotek <[EMAIL PROTECTED]> wrote:
> > The memory limitation is in the Windows JVM, not CF.
> >
> > On 8/7/07, Tony <[EMAIL PROTECTED]> wrote:
> > >
> > > hi there.
> > >
> > > back in the days of cfmx 7.x 1.5gb was the max amt of ram you 
> > > could specify on a windows server to allocate to coldfusion.
> > >
> > > has that changed with cf8?
> > >
> > > thanks!
> > > tony
> > >
> > > --
> > > 'Never have anything in your life that you can't walk out on in 
> > > thirty seconds flat, if you spot the heat coming around the corner'
> > >
> > > robert deniro - heat (1995)
> > >
> > >
> >
> >
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285614
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to