Why is Flume running out of memory?
Ensure that you have provided the jvm with sufficient heap space. By default Flume starts the jvm with it’s default heap allocation, which differs depending on the jvm version, the host type (os, 32/64 bit, etc…), total host memory available, as well as other issues. The environment variable UOPTS can be used to pass additional jvm parameters when running Flume. e.g. $ UOPTS=”-Xms1g -Xmx2g” bin/flume node which starts a flume node with an initial heap of one gig and a max heap of two gig. See “java -h” or “java -X” for more details on available jvm options.
Related Questions
- I get a warning message about not being able to register memory and possibly out of privileged memory while running on Solaris, what can I do?
- Why when running ENVIRO in Windows NT do I get the message "Insufficient memory to create the output files" after choosing the Run option?
- While recording video with the MediCap USB200, is there a warning when the amount of available memory is running low?