How can we configure Java Xmx for Router/Message Processor?

Not applicable

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

Solved Solved
1 1 359
1 ACCEPTED SOLUTION

Not applicable

We found that updating this file works: /opt/apigee4/share/apigee/bin/setenv.sh

"/opt/apigee4/bin/apigee-env.sh" seems to not work despite its documentation.

View solution in original post

1 REPLY 1

Not applicable

We found that updating this file works: /opt/apigee4/share/apigee/bin/setenv.sh

"/opt/apigee4/bin/apigee-env.sh" seems to not work despite its documentation.