In this DocumentSymptoms
Cause
Solution
References
Applies to:Oracle GoldenGate - Version: 10.4.0.19 to 10.4.0.107 - Release: 10.4.0 to 10.4.0
Oracle GoldenGate - Version: 11.1.1.0.0 to 11.1.1.0.20 [Release: 11.1.1 to 11.1.1]
Information in this document applies to any platform.
Symptoms
Replicat has a memory issue and its memory allocation keeps on growing without releasing it. This happens when the replicat is using REPERROR IGNORE / DISCARD parameter.
Due to this memory issue, the replicat can also abend with the malloc error "malloc xxxx bytes failed"
Cause
This is due to Bug 10069788 / 10382094. Version10.4.0.108 has the fix for reperror Ignore/ Discard and in OGG version 11.x, the build v11.1.1.0.21 has the fix..
Solution
Solution:
When OGG sees the REPERROR parameter, it saves the error messages which it encounters, so later on it could dump out an error message to discard file or handle it in some other way. There is a bug wherein this memory was not getting released. Hence, over time, memory consumption grows.
Apply patch 10.4.0.108 or later to fix this issue for V 10.4 versions and 11.1.1.0.21 or later to fix the replicat memory leak bug for v11 versions.
The upgrade steps can be found in the
OGG v10.4 Upgrade Guide
OGG v11.1 Upgrade Guide
Workaround: Restart the replicat when its memory allocation is high.
ReferencesBUG:10382094 - GOLDEN GATE REPLICAT EATING MEMORY UNTIL SYSTEM HANGS
BUG:9677286 - REPLICAT TAKES HUGE MEMORY