We have a new Java service that takes extremely long time loading classes before doing anything in the first transaction after JVM started. We confirmed it using dynaTrace. Could you give us some suggestions on how to reduce this ClassLoader overhead? Thanks.
Answer by Dominik S. ·
There can be a number of different reasons why startup takes a long time, e.g. there may be a huge number of classes loaded as part of startup or accessing the jar-files during startup is slow, e.g. by having them on a network shared filesystem.
Maybe you can give some details and numbers about your environment, e.g. what type of application, is an application server involved, how many classes are loaded after startup is finished (visible in the Agent Overview Dashlet in dynaTrace), ...
Answer by Chris Z. ·
After application restarting, dynatrace agent will transfer classes to collector.
It will take resource. It will spend long time if more classes has been instrumented. For example: more sensor was defined.
It also related to the network speed between collector to agent.
JANUARY 15, 3:00 PM GMT / 10:00 AM ET