It will be useless far earlier than that, because this type of memorization leads to about 0% retention past the point of one or two weeks. And of course the situation completely precludes the possibility of using an effective memorization strategy, like spaced repetition, because there's no time to add that for every class on top of everything else.