This is probably a dumb mistake on my part, I'm hoping someone can see what I'm not seeing.
I am attempting to increase the heap size available to my analysis server from the default 742mb to 8gb. I went into the /../dynatrace/dtanalysis.ini file and increased -xmx and -xms to 8G.
Next I issued the command:
Next I went into my dynatrace server settings > Services > DT Memory Analysis Server > Click the Test connection button.
Test connection passes but still shows the default 742mb. Anyone know what I'm doing incorrectly?
Solved! Go to Solution.
Are you sure the server settings are pointing to the same Analysis Server that you are modifying? I am thinking maybe the Analysis Server is remote and the server settings are pointing to localhost...
Did you check the analysisserver.0.0.log file for a line like this?:
Process: 8192MB heap
This tipped me off to the correct answer, I had recently migrated analysis servers to a new version of RHEL, and DT was still pointing at the old host even though the hostname had been changed. I had made a mistake and left the old instance of Analysis server running.
I guess first stop the service then open the .ini file in the note pad or any other application with the administrator mode and change the desired size and then restart the service.
I believe that the increased RAM will be available at the host.
If above is correct then might be dynatrace server needs to be restarted.
The flag Xmx specifies the maximum memory allocation pool for a Java Virtual Machine (JVM), while Xms specifies the initial memory allocation pool.
So try setting a lower value for XMS
First stop analysis server, then edit the .ini file
Then start the analysis server, and test the connection on dynatrace server.
Hope it helps