Help Center/ Application Performance Management/ FAQs(2.0)/ JavaAgent Connection FAQs/ Why Is the Application Service Startup Slow After JavaAgent Is Connected?
Updated on 2026-07-29 GMT+08:00

Why Is the Application Service Startup Slow After JavaAgent Is Connected?

The following table lists the causes and solutions for slow application service startup after JavaAgent is connected.

Root Cause

Solution

The configured memory of the application service is small, causing full GC. (If the memory allocated to the application is too small, the application may fail to start.)

Increase the memory and ensure that 200–250 MB memory is reserved.

The host name is not configured in the /etc/hosts file. It takes much time to obtain the local IP address.

Add the host name to the hosts file.