Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

How to configure default for maxInlineSize for Document objects in OSGI?

Avatar

Avatar
Validate 1
Employee
AlexanderWillet
Employee

Like

1 like

Total Posts

16 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Employee
AlexanderWillet
Employee

Like

1 like

Total Posts

16 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
AlexanderWillet
Employee

17-03-2017

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 JEE implementation of AEM Forms, the default configuration of this parameter can be set. For example it can be set by using a system property com.adobe.idp.defaultDocumentMaxInlineSize. (For ore details see https://helpx.adobe.com/aem-forms/6-2/admin-help/enhancing-application-server-performance.html )

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?

Replies

Avatar

Avatar
Level 1
hegupta
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
hegupta
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
hegupta
Level 1

20-03-2017

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.

Avatar

Avatar
Validate 1
Employee
AlexanderWillet
Employee

Like

1 like

Total Posts

16 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Employee
AlexanderWillet
Employee

Like

1 like

Total Posts

16 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
AlexanderWillet
Employee

20-03-2017

Ah, ok. Thanks for clearifying that!