Re: Not enough free slots to run the job
Posted by
Fabian Hueske-2 on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Not-enough-free-slots-to-run-the-job-tp5630p16445.html
Hi David,
that's correct. A TM is a single process. A slot is just a virtual concept in the TM process and runs its program slice in multiple threads.
Besides managed memory (which is split into chunks add assigned to slots) all other resources (CPU, heap, network, disk) are not isolated and free to use for all threads.
The DataSet API operators operate almost exclusively on managed memory. Heap memory is only used for in-flight data and not to store larger amounts.
So having unused slots leaves some of the configured memory unused.
Best, Fabian