The objects of type com.adobe.aemfd.docmanager.Document are a center point for all document processing functions in AEM Forms. They have a lot of built in features. Among them they can hold content inline in memory or serialize it to temp files on the hard drive. There is a default value for the max size that should be hold in memory. It is 65536.
For the OSGI implementation of AEM Forms I would also like to change the default value of this parameter. But I couldn't find it in the OSGI configuration (Felix console) and also using the system property had no effect.
Can someone give me a hint where to find this setting and how to change it?
Right now, there are only two options for AEM documents (a) default value of 65536 (b) programmatic override on a per-document basis by calling setMaxInlineSize() on the Document object right after creation.