The database connections are using too much memory.
- Dominant language
- TypeScript
- Stars
- 5.1k
- Forks
- 563
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 59
Description
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?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.