Comments (3)
For Golden Config, we should approach it this way. nautobot/nautobot-app-golden-config#683
For Nautobot Core in general, I am not sure what the best path forward is.
from nautobot.
As far as I understand the original issue, the current biggest problem is gitpython-developers/GitPython#718, which may be mitigated by ensuring that we explicitly delete any git.Repo
objects when done with them, most likely either by explicitly calling Repo.__del__()
at the end of our ensure_git_repository()
utility function, or by calling Repo.__del__()
when a nautobot.core.utils.git.GitRepo
instance is deleted.
Shallow clone might be a nice feature to mitigate disk space requirements but to the best of my knowledge the memory leak is the current problem to solve.
from nautobot.
Thus far in some manual testing I'm unable to trigger the GitPython memory leak. Even after re-cloning a repository 1000 times, or cloning 100 separate repos, there are no extraneous open file handles and no apparent increase in memory consumption. This leads me to believe that my previous understanding was perhaps incorrect, and perhaps the "OOM" referenced in the issue was due to disk space exhaustion rather than memory exhaustion -- @mattmiller87 can you provide any additional clarity?
from nautobot.
Related Issues (20)
- UI Bug: Unnecessary divider in "Actions" menu on list view with view+delete permissions
- CloudType model needs to permit CloudService content-type HOT 2
- Enhance cloud feature documentation
- Device update times increase in proportion to the number of child devices it has HOT 4
- 2.3 new features: Feedback from Sprint review
- Cloud services list view action buttons using incorrect model
- ERROR: Failed building wheel for Pillow HOT 9
- ValueError Raised when navigating to a VLAN's location list HOT 1
- Bottom corners of panels overflow borders on hover
- NewBranch Example Does Not Work as Provided HOT 2
- v2.3.0 job list view has an empty actions menu
- Enqueue Job not passing correctly kwargs
- Enqueue Job not passing correctly kwargs HOT 3
- Interfaces get Custom Field values populated from Device Type's interface templates
- Docs Landing Page -> Should be a Root
- Content type to endpoint URL
- device-redundancy-groups Detail View Missing Controllers
- [2.3] Custom Field on ObjectEditView do not use BootstrapMixin HOT 1
- Inconsistent indentation behavior for tree like model list view's search results HOT 2
- Jobs no longer register from git repositories when structured as a submodule in 2.2.3+ HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nautobot.