Hi Qamar, Performance issue is not a simple thing and it depends on multiple factors.
1. What could be ideal size heap memory for AEM6.4
It depends on mulitple factors.
- Total how many users are going to hit your server?
- How frequently you are updating content?
- What is the DAM content size?
2.Second what can causing this server slow running behavior in our case
When you upload Assets, internally the workflows will trigger, request you disable and try once. What is the size of Assets you are uploading? Please double check your code on closing resourceResolvers properly? is it happening on bulk upload or only for a single asset? How many users are parallelly accessing your server at a time?
You can download thread dumps and check where the problem is?