Bug #72322 Query to I_S.tables and I_S.columns leads to huge memory usage
Submitted: 11 Apr 2014 23:52 Modified: 12 May 2015 12:41
Reporter: Przemyslaw Malkowski Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Information schema Severity:S2 (Serious)
Version:5.5 5.6 5.7 OS:Any
Assigned to: CPU Architecture:Any
Tags: information_schema memory leak

File: Maximum allowed size is 50MB.
Description:
Privacy:

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:

[11 Apr 2014 23:53] Przemyslaw Malkowski
simple script to create tables for test case

Attachment: create_tables.php (application/x-php, text), 937 bytes.

[11 Apr 2014 23:54] Przemyslaw Malkowski
Massif mem profile visualized

Attachment: I_S_mem_leak_massif_visual.png (image/png, text), 330.54 KiB.

[11 Apr 2014 23:55] Przemyslaw Malkowski
raw massif file

Attachment: massif_5.7.4.out (application/octet-stream, text), 376.15 KiB.