Are you using session variables, if so how much data are you storing. Often
using Sessions for simple storage and using non persisted object instances
can be far more memory efficient than persisting a Cfc in session scope.
Where I have had load related memory issues, session vars are usually the
first place I look. The system information tab in the bluedragon
administrator shows number of active sessions. Also are you using 1.4 as
there are some known leaks in that so may want to try the 1.5 nightly.

My 2p

A

On Saturday, 30 July 2011, Matthew Woodward <[email protected]> wrote:
> On Sat, Jul 30, 2011 at 8:18 AM, Daniel Eng <[email protected]> wrote:
>>
>> Have anyone tried these before? What did you guys set for your memory
setting?
>
> Memory settings completely depend on the application's needs, really. Just
as a ballpark for the max heap size, if I'm not running much else on a
server other than Tomcat, I'll give Tomcat 2GB max heap on a 64-bit system
with 4GB of RAM (we run everything on VMs these days so we tend to have a
high number of small-ish VMs as opposed to a smaller number of monster
boxes), and that seems to work well.
>
>>
>> I tried changing the setting in the Apache Tomcat OpenBD Properties under
the Java tab. Increased the setting for Initial Memory Pool to 1GB and the
Maximum Memory Pool to 2GB.
>
> Depending on what your app is doing, load, etc. that's at least a
respectable amount of RAM.
>
>>
>> I noticed that I have less downtime... but it still happens. What's the
best way to beat this?
>
> Well, it's entirely possible that it's load related, you may have a slow
memory leak in your code, and you didn't mention what your MaxPermGen
setting was, which isn't the same as heap space of course but knowing that
setting will provide a more complete picture.
> It'd also be interesting to see more of the stack trace to see where
specifically things choke and if it's the same thing every time ... can you
share more the full stack trace on pastebin.com (i.e. don't send it to the
list since it might be huge).
> Also if there's anything specific about the application you can share
that'd be helpful. For example there was an issue on OpenBD 1.4 (which I
assume is what you're running) related to XML in the application scope, so
sharing the basics of what your application is doing will provide more
clues.
> --
> Matthew Woodward
> [email protected]
> http://blog.mattwoodward.com
> identi.ca / Twitter: @mpwoodward
>
> Please do not send me proprietary file formats such as Word, PowerPoint,
etc. as attachments.
> http://www.gnu.org/philosophy/no-word-attachments.html
>
> --
> official tag/function reference: http://openbd.org/manual/
> mailing list - http://groups.google.com/group/openbd?hl=en
>

-- 
Alex Skinner
Managing Director
Pixl8 Interactive

Tel: +448452600726
Email: [email protected]
Web: pixl8.co.uk

-- 
official tag/function reference: http://openbd.org/manual/
 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to