You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per the initial analysis, Spoon classes are consuming more memory and giving out of memory error for our application.
Our application deals with processing files in Java project and extracting few information out of it.
We are using Spoon to collect all metadata of the files.
So for Smaller applications having 1500-1600 files it is working as expected but for bigger applications having 10000-15000 files it is giving memory issue.
We analyzed memory consumption using Memory Analyzer Tool (MAT) and found that Spoon classes are taking more spacing and standing on top 5 positions.
I can state few code in the below section and also would like to know if there is any hack or some other Spoon code which can handle the same.
can you share a bit more information about your used and available memory, as well as maybe a MAT screenshot of the top objects/classes? If possible, a heap dump would be useful too. I am using spoon to analyze and convert Javadoc in e.g. the JDK itself (which is not a small project by any means) and it comfortably runs with <8 GiB of memory. It would probably work with less too, but I haven't tested that.
Describe the bug
As per the initial analysis, Spoon classes are consuming more memory and giving out of memory error for our application.
Our application deals with processing files in Java project and extracting few information out of it.
We are using Spoon to collect all metadata of the files.
So for Smaller applications having 1500-1600 files it is working as expected but for bigger applications having 10000-15000 files it is giving memory issue.
We analyzed memory consumption using Memory Analyzer Tool (MAT) and found that Spoon classes are taking more spacing and standing on top 5 positions.
I can state few code in the below section and also would like to know if there is any hack or some other Spoon code which can handle the same.
Source code you are trying to analyze/transform
Source code for your Spoon processing
Actual output
No response
Expected output
Spoon Version
10.2.0
JVM Version
Java 17
What operating system are you using?
Windows and Linux both
The text was updated successfully, but these errors were encountered: