in-memory database or 'backup to' seems to leak memory
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 20/100
Hướng nghiên cứu
Start by reading the issue’s report of the 10 GB off-heap increase during in-memory SQLite database creation and the 1.2 GB reduction after closing the connection and statement. Investigate the SQLite JDBC driver’s memory handling for in-memory databases and the backup to command; the issue does not name files or tests. Done means identifying whether memory remains allocated after resources are closed and how it can be released.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
We are trying to create a large SQLite in-memory database and once the DB is created we are dumping it to a file using 'backup to' comand. This is done as creating a large in-memory sqlite db is much faster.
Once the backup process is complete, sqlite connection and statement is closed. When we looked at the memory footprint, the off-heap memory shot by 10GB during in-memory db creation. Once all the resources are closed, reduction in off-heap memory was around 1.2GB. We are left in 8.8GB extra memory in off-heap area.
So, we suspect a memory leak either in in-memory database or 'backup to'.
Is there a specific way to release memory for in-memory sqlite db?
- Ngôn ngữ chính
- Java
- Star
- 3.3k
- Fork
- 676
- Merge trung bình
- 1 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 18
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của xerial/sqlite-jdbc
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
xerial/sqlite-jdbc#1515 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
xerial/sqlite-jdbc#1514 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
xerial/sqlite-jdbc#1513 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
xerial/sqlite-jdbc#1512 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
SIGSEGV (exit 134) in bundled `rightstr()` when the length argument is a large negative numberCó thể đã có người làm @sarthakdev143-lite đã nhận 1 ngày trước. Đang mởhelp wanted impacts:JNI
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 38/100
xerial/sqlite-jdbc#1508 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của xerial/sqlite-jdbc
Issue tương tự
-
Area/Configuration Type/Improvement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ballerina-platform/static-code-analysis-tool#217 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
eclipse-dirigible/dirigible#8636 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug severity-medium XS
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
nikolas-charalambidis/facepalm-maven-plugin#291 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
OakLoaf/PluginUpdater#264 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: withStartupTimeout() changes the startup timeout of all containers that use the default wait strategyCó thể đã có người làm @aymenjamaaoui đã nhận hôm nay. Đang mởtype/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
testcontainers/testcontainers-java#12171 ·
Maintainer thường phản hồi trong vòng 1 ngày