-
-
Notifications
You must be signed in to change notification settings - Fork 222
Open
Description
Description:
We are using db-scheduler in a Spring Boot application (Java/Kotlin, Gradle). We have observed that the JVM's native memory (non-heap memory) consumption increases steadily over time and is never released, even after scheduled tasks complete. This behavior suggests a possible native memory leak in the library.
Steps to Reproduce:
- Integrate db-scheduler as per documentation.
- Start the application and schedule recurring tasks.
- Monitor JVM native memory usage (e.g., using
ps
,top
, or a profiler). - Observe that native memory usage keeps increasing and is not reclaimed.
Expected Behavior:
Native memory usage should remain stable or fluctuate within reasonable bounds, not increase indefinitely.
Actual Behavior:
Native memory usage grows continuously, indicating a potential leak.
Environment:
- db-scheduler version: 16.0.0
- JVM: 21.0.8+9.0.LTS
- Spring Boot: 3.5.3
- Database: Postgres 16
Additional Information:
- No relevant heap memory leak detected.
- Issue persists across restarts and with minimal configuration.
Metadata
Metadata
Assignees
Labels
No labels