-
|
We're running DT 4.12.7 from the docker image ( Note: Shortly before hitting that limit the JVM ends up spending most of the CPU time running GC cycles in a loop which makes the instance unusable. I doesn't however throw an OutOfMemoryError and keeps running in this state until it hits the container limit and is killed. Even increasing the container memory limit together with decreasing the After few increases of the memory limit which didn't help, we ended up collecting & analyzing the heap dump (we had to add the JDK into the container in order to use When looking at https://github.com/DependencyTrack/dependency-track/blob/master/src/main/resources/application.properties, the L2 cache does indeed appear to be disabled there: However in /opt/owasp/dependency-track/dependency-track-apiserver.jar:WEB-INF/classes/application.properties (inside the above mentioned container image) there's just Note: We're going to try the "weak" L2 cache type which should use weak references for its objects. If that doesn't help, we'll try "none". |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
The code you linked is in |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the clarification. Since the comment about disabling the L2 cache was written quite a long time ago, I optimistically expected it to be already disabled. 😊 By the way, the |
Beta Was this translation helpful? Give feedback.
The code you linked is in
masterand was not released as part of 4.12.x. It will be part of 4.13.0 which is to be released today.