As Jeff, I'm a bit surprised by what you are experiencing. I've never changed the default values of 512MB when working with NiFi on my laptop and never hit OOM errors. Are you sure that 1GB is available on the VM before starting NiFi?
Pierre 2017-08-31 13:52 GMT+02:00 Mike Thomsen <[email protected]>: > Adam, > > I cannot say exactly why the default settings won't work for you on a > clean installation, but it likely has to do with how small the VM is. The > OS overhead alone is probably a few hundred MB of RAM. If you have anything > else running, even just MySQL or MongoDB it's entirely possible that you > actually don't have enough memory to give even 512MB to NiFi. > > My recommendation would be 4GB of RAM for the VM with Xms1G and Xmx2G for > the heap sizes. That's very reasonable for experimenting with something > like NiFi. The ram usage is very difficult to calculate in advance because > it's based entirely on what you're doing with NiFi. > > Mike > > On Wed, Aug 30, 2017 at 11:45 PM, Adam Lamar <[email protected]> wrote: > >> Jeff, >> >> This was a new installation so I actually hadn't set up any flows yet. >> NiFi wouldn't start immediately after installation (before I could >> configure any flows) because the system had too little ram. The 1.1GB >> figure is private (RSS) memory usage, which exceeded the 1GB instance limit >> (and the instance had no swap configured). >> >> Is there any system requirements documentation? I couldn't find any docs >> on minimum system specs, so I guess I'm wondering if the ram usage is known >> and expected, and if there are any ways to get the ram usage down. >> >> Thanks in advance, >> Adam >> >> >> > >
