We currently have several java services in place which are being used to get common data from SAP as follows:
- if data is not to be found in hashtable A, then SAP FM z_xxx is being called to repopulate it, otherwise get data directly from hashtable A.
The problem is that the java hashtables using the heap are storing a huge amount of data causing long gc cycles which have a big impact on the performance.
What would be a wiser approach if you have a lot of services which require the same data from SAP?
Thank you in advance,