Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

How cq-author-4502.jar is zipped to such low memory ?

Avatar

Level 2

Hi Guys,


A general question....
Jar file which starts completed AEM on system is size 280 MB (AEM 5.6.1) and 484 MB (AEM 6.1). Once extracted their size goes to around 2 GB.
Is there any one who can share thoughts on how this JAR is compressed to such low memory.

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 10

When you click the jar, it actually does lot of installations like repository, app server, around 300 bundles etc which is required for the instance. Hence you see so much increase in the size.

.jar contains only the installers and hence it could be bundled at a lesser size

View solution in original post

5 Replies

Avatar

Level 6

Please share the command you used and system RAM size...

Avatar

Level 2

I am talking about the normal scenario with 4GB ram

When you double click a jar it extract and now total size of crx-quickstart becomes 2.15GB

So question, how does that huge data 2.15GB is compressed to form a jar of size 480MB

Avatar

Employee Advisor

When you double click it or run it with the Java command then it not only extracts but also runs some code in the backend to initialize the repository and create the necessary data files on the file system required for the startup. It is not simply extracting the file. 

Avatar

Correct answer by
Level 10

When you click the jar, it actually does lot of installations like repository, app server, around 300 bundles etc which is required for the instance. Hence you see so much increase in the size.

.jar contains only the installers and hence it could be bundled at a lesser size

Avatar

Administrator

Hi

Adding to the above stated,

//The first time you start the jar file (either by double-clicking on it or via the command line), it unpacks itself and installs the AEM application in a sub-directory within the same directory as itself. However, once AEM is installed, restarting the jar file does not reinstall the system. It simply starts up the application.

Document Link:- https://docs.adobe.com/docs/en/cq/5-6-1/getting_started/download_and_startworking.html#Installing%20...

I hope this would help you.

Thanks and Regards

Kautuk Sahni



Kautuk Sahni