4GB of RAM is just barely enough to stream and barely enough for some gaming, but not both. Streaming software such as OBS recommend at least 4GB and leaves no room for multitasking.