Yes. Kafka doesn't use much in process memory, our 4GB is probably just because no one bothered to tune it. But memory given to the JVM takes away from the OS cache and will result in more disk I/O.
-Jay On Wed, Oct 31, 2012 at 7:35 AM, howard chen <howac...@gmail.com> wrote: > Hi, > > > On Tue, Oct 30, 2012 at 11:07 PM, Matthew Rathbone > <matt...@foursquare.com> wrote: > > When thinking about memory for the broker, the only thing you should > > consider is the filesystem cache. > > So you mean if I have 4GB ram, I should leave some memory for the OS > (i.e. file system cache), instead of allocating all of them to the > JVM? >