When I set up the Gateway, I can not install OTK Tool kit 4.1 in Policy Manager. : OAuthSolutionKit-4.1.00-2817.sskar
I attached the log report in this case.
Release : 9.2
Component : API GTW ENTERPRISE MANAGER
Memory Usage:
7,338,776 bytes: the amount of free memory in the Java Virtual Machine.
259,522,560 bytes: the total amount of memory in the Java virtual machine.
Stack Trace:
java.lang.OutOfMemoryError: Java heap space
at java.lang.StringCoding.decode(StringCoding.java:215)
You change the java used my policy manager to a 64 bit version and increase memory
Default Location windows
C:\Program Files (x86)\CA Technologies\CA API Gateway Policy Manager 9.2.00
Default points to the local JRE setup with Policy manager (32Bit)
@jre\bin\java -Xms128M -Xmx256M -Xss256k -Dfile.encoding=UTF-8 -Duser.language=en -Duser.country=US -Dsun.net.inetaddr.ttl=10 -Dnetworkaddress.cache.ttl=10 -jar Manager.jar
@echo CA API Gateway Policy Manager has finished. Its final log messages are shown above.
@pause
Changed or created a new patch that calls 64BIT version of java with additional memory allocated
@"C:\Program Files\Java\jdk1.8.0_161\jre\bin\java" -Xms256M -Xmx2048M -Xss256k -Dfile.encoding=UTF-8 -Duser.language=en -Duser.country=US -Dsun.net.inetaddr.ttl=10 -Dnetworkaddress.cache.ttl=10 -jar Manager.jar
@echo CA API Gateway Policy Manager has finished. Its final log messages are shown above.
@pause