Skip to content

Agroal statement wrappers accumulate in memory #48135

@shawkins

Description

@shawkins

Description

Keycloak has the possibilty of running import operations that in the worst case may be split into millions of statements. I noticed in testing this scenario that even for closed prepared statements the PreparedStatementWrappers remain in memory. While they are relatively small, several million of them add up.

Implementation ideas

Maintain a bi-directional linked list so that the statements may remove themselves when closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/agroalarea/housekeepingIssue type for generalized tasks not related to bugs or enhancements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions