diff --git a/docs/own/index.mdx b/docs/own/index.mdx index 83b956dde..06d45644a 100644 --- a/docs/own/index.mdx +++ b/docs/own/index.mdx @@ -83,6 +83,23 @@ To find all commits between versions `5.0` and `5.1` made by `sourcegraph/own` t Same query can be run for any owner (a person or a team). +## Troubleshooting + +### Memory issues and worker crashes + +The Own background processes (such as ownership signals computation) can consume significant memory, potentially causing worker jobs to crash due to excessive memory usage. If you experience memory problems or worker crashes related to Own: + +1. **Disable ownership signals**: Go to **Site admin > Code graph > Ownership signals** and disable the signals that are causing issues: + - Recent contributors signal + - Recent views signal + - Analytics computation + +2. **Exclude large repositories**: Use the repository filtering options to exclude large repositories from ownership signal computation. + +3. **Monitor resource usage**: Check your instance's memory usage after disabling signals to confirm the issue is resolved. + +If memory issues persist after disabling ownership features, consider whether Own functionality is essential for your use case. + ## Further reading In order to learn more please check out our references: