suitable operating system for 8bit ardunio microcontroller

Not correct:

a 168 has only 8096 bits of RAM

A 168 has:
• High Endurance Non-volatile Memory Segments
– 16KBytes of In-System Self-Programmable Flash program memory
– 512Bytes EEPROM
– 1KBytes Internal SRAM