Mockito 5.3.1 Seeing high heap usage during test execution
60 views
Skip to first unread message
tuk
unread,
Mar 15, 2024, 9:47:06 AMMar 15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mockito
Hi
With mockito 5.3.1 we are observing that our heap usage has increased during test execution. Most of the memory is held by a ConcurrentHashMap containing MockMethodInterceptor. Please check the attached screenshot.
I am not familiar internal implementation of Mockito code. Can someone suggest what could be going wrong here or are there some known issues in the Mockito version I am using?