Bug #69848 | mysql 5.6 slave out of memory error ? | ||
---|---|---|---|
Submitted: | 26 Jul 2013 13:51 | Modified: | 28 Apr 2015 9:11 |
Reporter: | jianjun yang | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Row Based Replication ( RBR ) | Severity: | S2 (Serious) |
Version: | mysql 5.6.12 | OS: | Linux (CentOS 6) |
Assigned to: | Venkatesh Duggirala | CPU Architecture: | Any |
Tags: | GTID, slave, swap |
If the data you need to attach is more than 50MB, you should create a compressed archive of the data, split it to 50MB chunks, and upload each of them as a separate attachment.
To split a large file:
- On *nix platforms use the split command e.g.
split -b 50MB <my_large_archive> <my_split_archive_prefix>
- On windows use WinZip or a similar utility to split the large file
[20 Aug 2014 12:19]
Van Stokes
[12 Dec 2014 23:45]
Shane Bester
5.6.23 heap profile saying this grows forever: parent_lex->push_context(&context);
Attachment: mybin.hprof.3825.heap.pdf (application/pdf, text), 9.28 KiB.
[12 Dec 2014 23:49]
Shane Bester
corresponding pprof --text output of the above profile
Attachment: mybin.hprof.3825.heap.txt (text/plain), 107.93 KiB.