We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose JAR files are way too large

Hi - we are customers of Aspose.PDF, CAD, Cells, Email, Slides and Words and these jars range in size from 7M all the way up to (!) 68M. In some scenarios we need to package a version of our product that has to be very sized constrained and the Aspose jars are easily 90% of the total image size (they total 170M), despite our product using many other third-party jars.

I believe Aspose uses some form of C# -> Java converter/handler in their Jars and this is responsible for the large sizes. Is it possible for this “converter” to be in a single jar that all these jars can share to reduce the size?

The sizes you see below are simply gigantic for JAR files and is a real problem.

-rw-r–r-- 1 sits sits 26M Dec 15 21:13 aspose-cad-19.5.jar
-rw-r–r-- 1 sits sits 7.1M Dec 15 21:13 aspose-cells-19.10.jar
-rw-r–r-- 1 sits sits 3.3M Dec 15 21:13 aspose-diagram-19.6-jdk16.jar
-rw-r–r-- 1 sits sits 13M Dec 15 21:13 aspose-email-19.10-jdk16.jar
-rw-r–r-- 1 sits sits 24M Dec 15 21:13 aspose-imaging-19.10-jdk16.jar
-rw-r–r-- 1 sits sits 11M Dec 15 21:13 aspose-note-20.7-jdk17.jar
-rw-r–r-- 1 sits sits 68M Dec 15 21:13 aspose-pdf-20.7-jdk17.jar
-rw-r–r-- 1 sits sits 30M Dec 15 21:13 aspose-slides-21.2-jdk16.jar
-rw-r–r-- 1 sits sits 14M Dec 15 21:13 aspose-words-19.11-jdk17.jar

I’ve seen this topic has been raised before. Can Aspose take this on?


We are checking and collecting related information to share. We will get back to you shortly.


We are afraid that the JAR Size of Aspose APIs cannot be further reduced. The sizes of the JARs are explained by the support of conversion into several formats offered by the APIs. Also, the APIs do not only contain the code to support their respective file formats but also they include the support of other several file formats in which you can load or export the documents. In case you have limitations regarding assembly sizes, you may please check Aspose Cloud APIs which may suit you.