How cq-author-4502.jar is zipped to such low memory ? | Community
Skip to main content
jacob_m1
Level 2
March 28, 2016
Solved

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

  • March 28, 2016
  • 5 replies
  • 1756 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Lokesh_Shivalingaiah

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

5 replies

Level 6
March 28, 2016

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

jacob_m1
jacob_m1Author
Level 2
March 28, 2016

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

Kunal_Gaba_
March 28, 2016

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. 

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
March 28, 2016

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

kautuk_sahni
Community Manager
Community Manager
March 29, 2016

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%20Instances%20of%20Adobe%20Experience%20Manager

I hope this would help you.

Thanks and Regards

Kautuk Sahni

Kautuk Sahni