Rabbi Shneur Zalman of Liadi writes in Hilchos Talmud Torah 3:1:
וכל מי שדעתו וכח זכרונו יפה שיוכל ללמוד ולזכור כל התורה שבעל פה כולה הרי זה <(א)> לא ישא אשה עד שילמוד תחלה תורה שבעל פה כולה שהן כל ההלכות בטעמיהן בדרך קצרה שהן פירוש כל התרי"ג מצות בתנאיהן ודקדוקיהן ודקדוקי סופרים
Anyone who is smart and has a good memory that he can remember the whole Oral Torah he should not get married until he learns the whole Oral Torah which is All the Halachas with their reasoning in short, which is the explanation of all 613 commandments and their details, and the details of the Rabbinic [commandments]
In Hilchos Talmud Torah 2:1, he explains:
לפיכך חייב הוא לשלש זמן למידתו שבכל יום ויום שליש במקרא שליש במשנה שהן הלכות פסוקות בלי טעמים שבכל המשניות וברייתות ומימרות האמוראים שהן פירוש התרי"ג מצות שבתורה בכל תנאיהם ודקדוקיהם ודקדוקי סופרים ובזמן הזה גם הלכות פסוקות של פסקי הגאונים הפוסקים כמו הטור והשלחן ערוך והגהותיו בכלל משנה יחשבו ושליש בתלמוד המבאר טעמי ההלכות שבמשניות וברייתות ומימרות האמוראים ובזמן הזה גם בספרי הפוסקים הראשונים המבארים טעמי ההלכות פסוקות שפסקו הטור ושלחן ערוך כמו הרא"ש ובית יוסף.
כי אם אינו יודע טעמי ההלכות אינו מבין גופי ההלכות לאשורן על בוריין ונקרא בור ולכן יש אוסרין להורות אפילו לעצמו מתוך הלכות פסוקות בלי טעמים שלמד ולפיכך אינו רשאי להתאחר מללמוד הטעמים עד שיגמור ללמוד כל ההלכות פסוקות.
Therefore, one has to divide his day into three portions: One to learn the written [Torah], one third to learn the Pesk Halacha without reasoning, such as the Mishna, Beraisas, and teachings of the Amoraim, which are the explanation of the 613 commandments with all their details, including Rabbinic [laws], and nowadays the rulings of the Tur, Shulchan Aruch, and the Ramah are considered as Mishna, and [the other] third part is "Talmud", which explains the Pesak of the Shulchan Aruch, such as the Rosh and the Beis Yosef.
This is since one who doesn't know the reasons for the Halachos doesn't really know them well and is considered to be a boor, and is forbidden to rule from books (even for oneself) without knowing the reasons. For this reason, one isn't allowed to postpone learning these reasons until one finishes learning the simple Halacha.
(Emphasis mine).
So it seems that there is some kind of limit of "The whole Torah", which tends to grow in time (First just the Mishna and Beraisa, then it included the teachings of the Amoraim, then it included the teachings of the Gaonim...)