Hi team, I am using wiremock very frequently and am seeing one issue wrt memory consumption, is there a way to make it more memory efficient or do I need to setup some sort of garbage collection?
t
Tom
04/01/2025, 2:45 PM
This is commonly because your request journal isn’t limited in size, so it will grow indefinitely each time you make a request. I suggest looking at the settings around this in the first instance.
m
Manav Arora
04/01/2025, 7:40 PM
I have disabled the request journal, and have limited the logging size as well
Manav Arora
04/01/2025, 7:40 PM
But still I face the same issue
t
Tom
04/01/2025, 7:59 PM
Can you take a heap dump and share it?
m
Manav Arora
04/02/2025, 5:06 AM
I have confidential data that is being used in the wiremock service, would that be shown in the same, also any other debug methods that we can use?
t
Tom
04/02/2025, 4:52 PM
I don’t think a heap dump would expose that, unless your class names count as confidential data