It won't include memory allocated dynamically when the code runs on the Uno:
- At least 768 bytes for the Neopixel library which is almost 40% of the available
- The Vector type may allocate memory dynamically also. Each time the .push() and .pop() methods are used, dynamic memory is probably allocated or freed up, and may be fragmenting the heap, leading to running out of memory.