Symptom
The out-of-memory (OOM) error is returned during full migration from an Oracle database to an Oracle-compatible tenant of OceanBase Database.
Possible causes
The migrated tables contain large object (LOB) fields.
Solution
Decrease the degree of parallelism (DOP) value and the amount of data queried each time, and increase the memory size. Procedure:
Log on to the OMS console.
In the left-side navigation pane, choose
System Management >System Parameters .Click the Edit icon in the
Value column for themigration.checker.params.*parameter.Valid values of
migration.checker.params.*aremigration.checker.params.fast,migration.checker.params.normal, andmigration.checker.params.steady. You must determine the parameter to edit based on the value ofFull Migration Concurrency specified on theMigration Type page when you create the data migration task. Here, the valuemigration.checker.params.fastis used as an example.In the
Modify Value dialog box, specify the following parameters.Parameter Description Change the value limitator.platform.threads.numberThe number of concurrent threads supported. Decrease the value limitator.select.batch.maxThe number of records queried each time. Decrease the value limitator.image.insert.batch.maxThe number of records inserted each time. Decrease the value task.checker_jvm_paramJVM parameters for the checker component. Increase the value.
Example: -server -Xms64g -Xmx64g -Xmn48g -Xss256kClick
OK .