flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabian Hueske <fhue...@gmail.com>
Subject Re: Does Flink use all of the available memory?
Date Sat, 14 Feb 2015 13:29:01 GMT

Flink uses only the memory which is configured to the JobManager and
TaskManager JVMs.
By default this is 256MB for the JM and 512MB for the TM (see [1] for
The TM memory is split into equally large chunks for each configured slot
of the TM.

You should definitely configure the TM JVM memory for your setup! See
common options in [1] for other important configuration parameters such as

In Yarn setups the TM memory is automatically sized with respect to the
Yarn container size, if I remember correctly.

[1] http://flink.apache.org/docs/0.8/config.html

2015-02-14 13:58 GMT+01:00 Viktor Rosenfeld <viktor.rosenfeld@tu-berlin.de>:

> Hi,
> does the default configuration of Flink use all of the available memory? I
> mean the physical memory installed in the computer, not whatever amount of
> memory the JVM allocates by default.
> Cheers,
> Viktor
> --
> View this message in context:
> http://apache-flink-incubator-user-mailing-list-archive.2336050.n4.nabble.com/Does-Flink-use-all-of-the-available-memory-tp730.html
> Sent from the Apache Flink (Incubator) User Mailing List archive. mailing
> list archive at Nabble.com.

View raw message