Lucee Memory Consumption

Not sure if this means anything, but should’t the memory usage under
windows be limited to what was allocated in the max memory pool?
Or does this not really mean anything?

http://www.evernote.com/shard/s349/sh/308603e6-54ea-4258-bf98-84d500bc7afb/2137296975af5161e79b24648510ffcc

Scott

@Igal
Thanks. I understand now.
one last question:
If my heap is currently at 54% (been that way for a month now), Can I
assume that for my application(s) the heap is too big?
and what is a good % to maintain?

@Igal

Since it currently utilizes about 2GB I wouldn’t set it too low.
How can you tell this?

Are you saying that I should not bother with using -XX:MaxMetaspaceSize=size
and just reduce the heap a bit to give the non-heap a bit more room?

Can one tell this by looking at the %s allocated to Heap and Non-Heap in
the Lucee Admin graph at right?

Thanks…

anyone?On Wednesday, June 8, 2016 at 11:30:23 AM UTC-5, Scott Conklin wrote:

Not sure if this means anything, but should’t the memory usage under
windows be limited to what was allocated in the max memory pool?
Or does this not really mean anything?

http://www.evernote.com/shard/s349/sh/308603e6-54ea-4258-bf98-84d500bc7afb/2137296975af5161e79b24648510ffcc

Scott

That just shows that is it Lucee.

http://www.evernote.com/shard/s349/sh/4574faf4-1533-4346-9729-13c95905303a/85bc31bbbc80fb39e5014ca7770e2c73

@Sean

  1. It is version *4.5.2.018. *
    http://www.evernote.com/shard/s349/sh/fcedb19d-c7d4-4bf6-bb83-f5b106313033/1bfcd817c609ca89eea0c7d564db8b20

  2. Do cfincludes of precompiled files count?
    We have a application builder that writes 30K+ files to a file structure
    that the front end then includes to “assemble” complex input masks for
    users to enter descriptive data about product equipment
    each webroot (about 50) only contains about 70 or 80 templates that one
    would navigate or submit to in browser.

http://www.evernote.com/shard/s349/sh/24aa785a-9184-4fed-b02a-d4759c32da2b/002d1b14307ec440e4921c5512d41532

I am not seeing exactly that option,
there is a users tab:
http://www.evernote.com/shard/s349/sh/37bc552a-4d0e-4135-84cd-06badbc05e35/e37217a913fdff59b3060bd88047c323

YES. Most definitely been restarted since the max pool setting was set to
4096.

I also have this resource performance monitor view… doesn’t this look
considerably higher than it should be?
http://www.evernote.com/shard/s349/sh/25c97297-0483-4a90-afed-a1269ef4fbb8/5f9f4fecf7443c34f3a6be89db2a5214

memory is constantly at 98% now, but the websites are performing well…

maybe 4096 memory for Tomcat/Lucee is too much for a machine with 8GB of
memory?

I asked MIke Brunt (cfwhisperer) about the java args and he confirmed that
mix max of 4096 is a good starting point for a machine with that much
memory…
(sites are performing ok, but navigating the machine via RDP is painfully
slow. )

Max Memory
number 4056.5

Isn’t the PermGen allocated in addition to the Heap? Maybe your ~4,900 is the heap plus 900M or so of PermGen? Do you have a lot of templates?> On Jun 10, 2016, at 12:28 PM, Scott Conklin <@Scott_Conklin> wrote:

maybe 4096 memory for Tomcat/Lucee is too much for a machine with 8GB of memory?

I asked MIke Brunt (cfwhisperer) about the java args and he confirmed that mix max of 4096 is a good starting point for a machine with that much memory…
(sites are performing ok, but navigating the machine via RDP is painfully slow. )


Win a ticket to dev.objective from Lucee via Twitter, see http://bit.ly/1UbTMWj for details, good luck and see you there…

You received this message because you are subscribed to the Google Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/49b347e5-1118-4667-a3d3-0f7121b9b844%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

It should.

Can you expand the list? Looks like there’s an arrow there that allows
you to get more details.

Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/On 6/10/2016 9:06 AM, Scott Conklin wrote:

anyone?

On Wednesday, June 8, 2016 at 11:30:23 AM UTC-5, Scott Conklin wrote:

Not sure if this means anything, but should't the memory usage
under windows be limited to what was allocated in the max memory
pool?
Or does this not really mean anything?

http://www.evernote.com/shard/s349/sh/308603e6-54ea-4258-bf98-84d500bc7afb/2137296975af5161e79b24648510ffcc
<http://www.evernote.com/shard/s349/sh/308603e6-54ea-4258-bf98-84d500bc7afb/2137296975af5161e79b24648510ffcc>

Scott


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

You received this message because you are subscribed to the Google
Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to lucee+unsubscribe@googlegroups.com
mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com
mailto:lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/4dabe5a1-f045-41ca-a805-cc475d69884d%40googlegroups.com
https://groups.google.com/d/msgid/lucee/4dabe5a1-f045-41ca-a805-cc475d69884d%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.

@igal
Also, what version of Java? And what are your JVM args? It’s possible
that this is due to other memory like Sean Daniels suggested, though with
normal settings it is not very likely.

  1. Java 1.8.0_77 (Oracle Corporation) 64bit
  2. Windows Server 2012 R2 (6.3) 64bit 8 GBs of RAM
  3. JVM args:

-Dsun.net.client.defaultConnectTimeout=10000
-Dsun.net.client.defaultReadTimeout=600000
-Dcatalina.home=E:\lucee\tomcat
-Dcatalina.base=E:\lucee\tomcat

Max and Min memory pool is 4096

was wondering if i should be using the JAVA 8 G1GC garbage collector…
(but I am not having any website performance issues!)On Wednesday, June 8, 2016 at 11:30:23 AM UTC-5, Scott Conklin wrote:

Not sure if this means anything, but should’t the memory usage under
windows be limited to what was allocated in the max memory pool?
Or does this not really mean anything?

http://www.evernote.com/shard/s349/sh/308603e6-54ea-4258-bf98-84d500bc7afb/2137296975af5161e79b24648510ffcc

Scott

So that’s consistent with your Max Memory setting of 4GB.

I don’t know why Windows (what version is that?) shows you a different
value.

Also, what version of Java? And what are your JVM args? It’s possible
that this is due to other memory like Sean Daniels suggested, though
with normal settings it is not very likely.

Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/On 6/10/2016 9:35 AM, Scott Conklin wrote:

Max Memory
number 4056.5


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

You received this message because you are subscribed to the Google
Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to lucee+unsubscribe@googlegroups.com
mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com
mailto:lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/6d102449-fa43-4835-b5a3-54da01f7531b%40googlegroups.com
https://groups.google.com/d/msgid/lucee/6d102449-fa43-4835-b5a3-54da01f7531b%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.