I am trying to setup replication between two clusters. For a small database everything works fine. But when I try to setup replication for a large db, I get this error. Any suggestions on where to start?
memsql> REPLICATE DATABASE Db FROM root:‘123’@172.16.0.1:3306;
ERROR 1037 (HY001): Out of memory; please try the operation again (needed 4946132992 bytes)
memsql>
The OS has been setup with 16 GB memory.
memsql> SHOW LOCAL VARIABLES LIKE ‘%memory%’;
±-------------------------------------------±---------+
| Variable_name | Value |
±-------------------------------------------±---------+
| locked_in_memory | OFF |
| max_compilation_memory_mb | 4096 |
| maximum_memory | 14280 |
| maximum_table_memory | 12852 |
| minimum_memory_mb | 3700 |
| track_leaked_memory | 0.000000 |
| workload_management_memory_queue_threshold | 0.010000 |
| workload_management_memory_queuing | ON |
±-------------------------------------------±---------+
8 rows in set (0.00 sec)
memsql>
TIA