Mockito 5.3.1 High Memory Usage #3300
Replies: 3 comments 3 replies
-
Does this happen since 5.3.1 or does it happen before? Can you also test out several ByteBuddy versions to see if there is a regression with ByteBuddy instead? |
Beta Was this translation helpful? Give feedback.
-
@TimvdLippe I tried with version 1.14.4 and 1.14.14 version of byte-buddy. With both versions, I am observing the same behavior as 1.12.23. Is there a way for me to not use byte-buddy with mockito? |
Beta Was this translation helpful? Give feedback.
-
In my case also adding |
Beta Was this translation helpful? Give feedback.
-
With mock 5.3.1 I am observing a high usage of heap memory. Looking at the heap dump it looks like most of the memory are being taken by a Map containing
MockMethodInterceptor
.I am not that familiar with the internal implementation of Mockito. Can someone please suggest what could be going wrong here or are there any known issue in the version of Mockito I am using?
Beta Was this translation helpful? Give feedback.
All reactions