Skip to content

GitHub Issue 1187: Auto-disable PostgreSQL JDBC result set caching#7833

Draft
labkey-jeckels wants to merge 1 commit into
developfrom
fb_1187_selectorCaching
Draft

GitHub Issue 1187: Auto-disable PostgreSQL JDBC result set caching#7833
labkey-jeckels wants to merge 1 commit into
developfrom
fb_1187_selectorCaching

Conversation

@labkey-jeckels

@labkey-jeckels labkey-jeckels commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Rationale

The Postgres JDBC driver caches ResultSets in memory by default for our configuration. We want to opt-out more aggressively to avoid OutOfMemoryError and performance problems.

Changes

  • Flip the default for SqlExecutingSelector to not cache by default
  • Warn when code pulls back a large ArrayList of results

@labkey-jeckels labkey-jeckels self-assigned this Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant