You shouldn't leave it in the tank more than 24 hours, and probably not more than 12 hours... by then they should have eaten all they're going to. Don't feed exclusively vegetables, they need a balanced diet with some meaty stuff in it too (ie, shrimp pellets, wafers, etc.).