• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Mahesh D. · Oct 15, 2012 at 03:18 PM ·

Dynatrace server fine-tuning

Hi,

I got an incident "Memory Pool 'Code Cache' low memory detected: 95% of 48MB used."

Where do we specify Code Cache memory or is it auto calculated based on heap memory settings?

Server RAM : 16 GB
We have set,
-XMS & -XMX 9984M
-XX:MaxPermSize & -XX:PermSize to 256M

Please suggest.

Regards,

Mahesh Deshmukh

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

3 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Andreas G. · Oct 22, 2012 at 02:27 AM

Hi Mahesh

I've forwarded this to the engineering team. As a first respone I got this interesting link regarding code cache: http://blogs.atlassian.com/2012/05/codecache-is-full-compiler-has-been-disabled/

I hope to get a little more insight on what that means for your dynaTrace installation

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by David D. · Jul 02, 2015 at 09:21 PM

Hi Andreas was there any more information on this.   We run into this several times and our customers potentially could be losing connections.  I recieved one today:

mgtlp0011_34445_ELR@mgtlp0011: Low memory has been detected on Memory Pool 'CMS Perm Gen': 98 % of 256 MB used.

 

:

 

Low PermGen memory will lead to Collector crashes even if enough heap memory is available. Please check for recommended VM memory settings: Sun: -XX:MaxPermSize -XX:PermSize

 We have max permsize and permsize at 256.  What are the implications of bumping this up another 256 MB? and if no implications then why would we not do that on the initial install?

Thanks,

David

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Andreas G. · Jul 08, 2015 at 10:02 PM

Hi Dave

I dont have more info on this - the post is already 2.5 years old and I am sorry that i didnt follow up on it.

I dont think there is any harm bumping it up by another 256MB. 

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image David D. · Jul 09, 2015 at 08:14 AM 0
Share

That's ok Andreas!  I created a ticket with the question about "any impact from increasing permgen to 512?".  And the response was that this would not be a problem.  We do have large cache/class cache which when we get to 6.1 will have a better ability to clean itself up.  So until then, hopefully the recommendation in my ticket to go to 512MB will be sufficient.

 

Thanks,

David

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A