My main character has access to the entire knowledge of humanity (note: This is year 4000s so they have much more than "our humanity"). He created another consciousness for himself; this new consciousness has limited capacity which is way way smaller than the entire humanitieshumanity's knowledge he has access to, so in the story he compresses this library of knowledge and puts it inside this new consciousness.
For more context, he can't expand his capacity with servers or other data storage methods, only the only capacity avaibleavailable is only that of his new consciousness.
He also doesn't have access to magic.
The main question is, if: is it is possible to compress knowledge infinitely? If not, what would the roughly smallest ratio you could compress information be?
He can use all science related methods be it digital or material.
Even though I said he is from year 4000s the answer doesn't have to be accessible in 4000s, time period is irrelevant to the question. I just want to know the possibilities.
EDIT - I have looked on my own, they say it's not possible to compress information infinitely, however the limit wasn't found, so I want a rather high estimate which I couldn't find.