Skip to content

Reduce memory consumption of Fat/Exploded Jars #4882

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
philwebb opened this issue Jan 5, 2016 · 0 comments
Closed

Reduce memory consumption of Fat/Exploded Jars #4882

philwebb opened this issue Jan 5, 2016 · 0 comments
Milestone

Comments

@philwebb
Copy link
Member

philwebb commented Jan 5, 2016

No description provided.

@philwebb philwebb modified the milestones: 1.4.0, 1.4.0.M1 Jan 5, 2016
philwebb added a commit that referenced this issue Jan 30, 2016
Refactor `spring-boot-loader` to reduce the amount of memory required
to load fat & exploded jars. Jar files now no longer store a full list
of entry data records, but instead use an array of entry name hashes.

Since ClassLoaders often ask each JAR if they contain a particular
entry (and mostly they do not), the hash array provides a quick way to
deal with misses. Only when a hash does exist is data actually loaded
from the underlying file.

In addition to the JarFile changes, the Archive abstraction has also
been updated to reduce memory consumption.

See gh-4882
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant