Skip to content

Possible Memory Leak  #122

@tobiasflohre

Description

@tobiasflohre

We did some performance tests and stumbled over a memory leak. If you take a look at the following file, you see that there are Thymeleaf objects held by a Groovy map, and there's no other Groovy in our application than the layout dialect.
Leak Suspects.pdf

I've looked into your code and have one assumption: There's that static FragmentMap which is filled for each IContext object, and I don't see any point in your code where you delete entries from that Map. It's just getting bigger and bigger.
Our 4GB heap application doesn't respond anymore after a number of requests that's not very high (like 10000 or less), so it's a very serious thing for us.

We can provide you with a heap dump, if you want.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions