PermGen error when HotDeploy
Hi, we are working on a Hot Deploy solution for our plattform and we are experiencing out of memory errors after a few PU restarts. The restart process is controlled by using the GigaSpaces Admin API (We have our own agent, very similiar to this one: http://docs.gigaspaces.com/sbp/xap-ho... ).
Some runtime details:
- GigaSpaces 9.6
- GSA, 1 GSM, 2 GSC
- All the PUs: Cluster schema as partitioned-sync2backup with 2 primaries, 1 backup each.
A workaround used is restarting the GSC after the hot deploy (pu restarts) or when the used PermGen is higher than 80%. The problem with this solution is that after restarting the GSC all the primaries are located in the same GSC and the backups in the other GSC. Is there a way to force that each GSC always have 1 primary and 1 backup?
Do you have any recomendation o reduce the PermGem space usage or do some cleaning? (We are using the plattform/lib/ext and optional/pu-common folders to store third party libraries).
Thanks,
Manuel Vieda