Same issue as
After a couple of days and quite a bit of "load data infile", mysqld dies with out of memory (eventually consuming 1TB of RAM and 100GB of swap).
We have several identical servers (load balanced), and they keep crashing with out of memory every couple of days one after the other.
All our tables are using tokudb.
Our cnf file is attached.