We’re seeing performance issues with Edge. In particular, our Javascript policies are timing out at the 200ms mark even when they are doing very little work and generally take ~2ms. We correlated this to garbage collection on the message processor JVM.
Our message-processor is running with “-Xms256m -Xmx512m” which seems very low. How can we increase this?
Our “/opt/apigee4/bin/apigee-env.sh” contains this:
# JVM memory settings suitable for Router and Message Processor
APIGEE_MIN_MEM=4096m
APIGEE_MAX_MEM=4096m
APIGEE_MAX_PERMSIZE=256m
# JVM memory settings suitable for other components
APIGEE_OTHER_MIN_MEM=256m
APIGEE_OTHER_MAX_MEM=512m
What configuration file should be updated?
This is on Edge version 4.15.07.00