I also changed the heap size in config files 'dtanalysisserver' and 'dtclient.ini.template' still getting same issue. Using offline session in Dynatrace trial version.
Hello @Siddhi B.
Are you using AppMon Rich Client or Java Webstart Client?
Have a look on below links for the configuration of both?
The template doesn't affect your client it is just a template. In your user directory there should be a .Dynatrace directory where the real dtclient.ini that has any impact will be located. The settings Babar noted should change that as well.