There are 2 ways to take this question: (1) If you’re non-Christian, how much can you sin/ignore God before it’s too late?
The short answer is this: You have until your death, b/c this is the final point before an eternity in either Heaven or Hell.
What if I wait until the very end?
Pastor R.C. Sproul provides solid insight here. He says, “If we turn your question around and ask if a person could live his whole life in sin, rebellion, and disobedience and then on his deathbed truly repent and go to heaven, the answer is yes -- just as the thief on the cross met the Savior in his dying moments and was guaranteed eternity with him. The New Testament speaks of those who are saved by the skin of their teeth. It's certainly not a wise course of action to postpone your repentance until the day of your departure because we don't know when that day is on the schedule. Even though making a confession simply out of fear is not enough, that fear should give pause and cause us to think seriously about our future state.”
The second way to address this question is to ask the question if I’m already a true Christian, can I lose my salvation? First, we must look at two warnings in Hebrews.
"For it is impossible for those who were once enlightened, and have tasted the heavenly gift, and have become partakers of the Holy Spirit, and have tasted the good word of God and the powers of the age to come, if they fall away, to renew them again to repentance, since they crucify again for themselves the Son of God, and put Him to an open shame. For the earth which brings in the rain that often comes upon it, and bears herbs useful for those by whom it is cultivated, receives blessing from God; but if it bears thorns and briers, it is rejected and near to being cursed, whose end is to be burned." (Hebrews 6:4-8)
"For if we sin willfully after we have received the knowledge of the truth, there no longer remains a sacrifice for sins, but a certain fearful expectation of judgment, and fiery indignation which will devour the adversaries…. Of how much worse punishment, do you suppose, will he be thought worthy who has trampled the Son of God underfoot, counted the blood of the covenant by which he was sanctified a common thing, and insulted the Spirit of grace? For we know Him who said, "Vengeance is Mine; I will repay, says the Lord." And again, "The Lord will judge His people." It is a fearful thing to fall into the hands of the living God." (Hebrews 10:26-31)
Again, Dr. Sproul provides a solid answer HERE.
In summary, I will quote my seminary theology professor, who used to say: "There is more grace in God, than sin in us."
I think that’s the Christian’s final hope at the end of the day. If you’re a genuine believer, and you’ve truly repented, then you need not worry about the limit of sin, because God has saved you.
[Answered by Pastor Ho-Ming]