Timers are very memory consuming. In most regions many prims like lamps have the same script with a timer. The solution is one prim with the script “DayChecker” and in the other prims the script “Lamp”.

Both example scripts are in a zip-file.