Hi @ozindfw,
It looks like you are allocating an array every time beforeRender runs, which is every animation frame. This will quickly eat through all available pattern array memory.
If you only need one array of flakes, allocate that in the main code area (move it outside of a function body).
The sparks pattern might be a good reference.
Three 150 element arrays is definitely possible.
Version information is displayed on the top right status area near FPS and free pattern memory in the white nav bar.