[memory_calculator] Counting classes from classpath #348
Labels
note:good-first-issue
A good first issue to get started with
note:ideal-for-contribution
An issue that a contributor can help us with
type:bug
A general bug
Currently, the calculation of metaspace size depends on the class count of JVM, application, agent and the adjustment (static/factor)
But the 3rd party libraries introduced from classpath are no included, for example, below is a screenshot from a tomcat app:
Expected Behavior
Should take the libraries from classpath into count
Current Behavior
Not included
Steps to Reproduce
pack build
awar
project such as spring-framework-petclinic with the paketo java buildpacksMotivations
The metaspace size may not correct or enough for a java project which introduces libraries with a large size from classpath
The text was updated successfully, but these errors were encountered: