Reputation
257
Top tag
Next privilege 300 Rep.
Create tags
Badges
1 3
Newest
 Yearling
Impact
~14k people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Sep
18
awarded  Yearling
Sep
18
answered Good reasons to keep 32-bit Microsoft Windows desktop OSes
May
24
answered Upgrading Python 2.X on CentOS or RHEL
Oct
10
answered the group user can not write to file
Sep
19
answered Engineers are using explosives to remove hard rock outside our office building. What countermeasures should we take?
Aug
17
awarded  Teacher
Aug
2
comment Tomcat Excessive Memory Consumption
Tanner, if you can't understand it now, how much more information do you need? Tomcat isn't using too much memory, your tool is over reporting memory. I'd like to explain why, but you're in denial that your tool is over reporting, so it's not possible to talk to you about it until you align yourself with reality. The above explains it in detail, and apparently you haven't read any of it.
Aug
1
revised Tomcat Excessive Memory Consumption
added 918 characters in body
Aug
1
awarded  Editor
Aug
1
comment Tomcat Excessive Memory Consumption
@Tanner, I tried to simplify it in a summary (in the original answer) for you. In short, stop blindly trusting your tool's output as true.
Aug
1
revised Tomcat Excessive Memory Consumption
added 918 characters in body
Aug
1
comment Tomcat Excessive Memory Consumption
PS, the diagram you referenced showed the internal contents of the heap. That's not the same as the overhead that lies outside of the heap. Your JVM stuffs all of those different spaces into the -Xmx(size) you specified. The only times that -Xmx is ignored is when you use a JVM that doesn't support that extension (all SUN / Oracle JVMs do, and many non-SUN / non-Oracle JVMs support that extension too, but there are a few that don't).
Aug
1
comment Tomcat Excessive Memory Consumption
That's true, however, the other items contain so little overhead in comparison to a sizeable heap that you're not in danger of watching your JVM grow to six times the size of the heap (As you are).
Aug
1
comment Tomcat Excessive Memory Consumption
You told the jvm to not allocate more heap than X; so it won't. Apart from a massive bug in the JVM that only you have noticed, how else would you explain the JVM not honoring it's configuration parameters? Call me jaded, but I think others (including myself) would be in front of Oracle's offices with pitchforks and torches if such obvious (and operational critical) functionality broke.
Aug
1
answered Tomcat Excessive Memory Consumption
Mar
10
awarded  Autobiographer