What is the maximum file size?
Fifteen megabytes. That is comfortably enough for a scanned notebook or a long PDF, and it is set where it is so a note opens quickly on a mobile connection in a place with poor coverage.
If your file is over, splitting it by chapter is usually better than compressing it — two findable notes beat one unreadable one.