I use levels up to 10k and that's fine. It is very important to enable the behavior of objects that the player sees and disable those that he does not see.
If the level is longer I think it would be better to scroll the background and spam enemies from the array, so you can create an infinite level.