smaller jar with fewer dependencies? #1168
-
I noticed the jar file is over 2MB. This seems very large for a parser. So not only increases war file size but also presumably adds additional vectors for security issues. Is it possible to build a slim version that can be used in place of the older |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I have tried to minimise the dependencies and I have stripped as many of the unneeded classes as possible. So this os as small as it gets. After startup this system uses a few hundred MiB of RAM, also a lot more than the others. And all of this makes the real goal possible: Best possible result in a time as short as possible. So my main question is why is a 2MiB library a problem for you? |
Beta Was this translation helpful? Give feedback.
I pulled the jar apart and did some stats on the compressed content for version 7.22.0.
Summary: There is no way to reduce the size any further.