mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-03-04 08:52:27 -05:00
The database connections are using too much memory. #892
Labels
No labels
AS
can't reproduce
can't reproduce
deployment
development
documentation
duplicate
duplicate
ee
enhancement
external
new driver
performance
third party issue
wait for response
wait for review
wontfix
x:Oracle
x:cassandra
x:clickhouse
x:db2
x:duckdb
x:greenplum
x:h2
x:h2gis
x:hana
x:hive
x:intersystems
x:kyuubi
x:maria
x:mongo
x:mysql
x:postgresql
x:presto
x:sql server
x:sqlite
x:teradata
x:trino
xf:accessibility
xf:administration
xf:authentication
xf:aws
xf:commit-mode
xf:connection
xf:data editor
xf:datatransfer
xf:dba
xf:driver management
xf:erd
xf:filters
xf:i18n
xf:i18n
xf:installer
xf:json
xf:ldap
xf:local config
xf:log viewer
xf:metadata
xf:metadata editor
xf:navigator
xf:okta
xf:query manager
xf:resource manager
xf:scripts
xf:sql editor
xf:tasks
xf:ui/uix
xo: Firefox
xo:eclipse
xo:internet explorer
xo:macos
xp:major
xrn:internal
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudbeaver#892
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @chrisleell on GitHub (Apr 11, 2025).
Originally assigned to: @dariamarutkina on GitHub.
During my usage, the service encountered an out-of-memory error.
Upon analyzing the memory, I found three WebSession objects, each occupying over 200 MB of memory.
The TableCache under PostgreSchema contains a large number of PostgreTableRegular objects.
The PostgreSQL database I am using has over 300,000 tables, views, and other elements.
It appears that each connection loads all the elements in the database, resulting in significant memory consumption.
Is this implementation reasonable? Can it be optimized?
@dariamarutkina commented on GitHub (Apr 17, 2025):
Hello @chrisleell !

Please try to select a filter by databases\schemas\tables in the UI so that fewer tables are loaded when opening.
We are still thinking about a more optimal solution.
Thank you for the report 🦫