spring-projects / spring-projects/spring-boot
Provide a more memory-efficient NIO-based file system watcher in DevTools
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 81.5k
- Forks
- 42.7k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 65
Description
File Watcher thread takes about of 98% of entire application memory.Memory consumption is still growing after application start.
It is also impossible to exclude log files from third party libraries that need to write to files under resources directory.
It would be nice to be able to exclude files by location or by file extension. Something similar to restart.include/restart.exclude properties.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Spring Boot DevTools File Watcher entry point and investigating the reported memory growth after application startup. Define how an NIO-based watcher and exclusions by location or file extension should behave, then verify both memory usage and the requested exclusion scenarios.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- devtools, performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100