What is the impact of changing maximum content length

(from github.com/tjcxhui)
Is there any particular consideration in setting defaultMaxLength to 10M?
If I change it to a bigger number, will it have a bad effect?

app/WEB-INF/classes/crawler/contentLength.xml.
10485760

(from github.com/marevol)
It affects heap-memory consumption.