getappmap / appmap-js

Client libraries for AppMap
49 stars 17 forks source link

Don't let scanner crash with `ENOSPC: System limit for number of file watchers reached` #904

Closed symwell closed 1 year ago

symwell commented 1 year ago

This is similar to the indexer crashing with this error. https://github.com/getappmap/appmap-js/issues/894 https://github.com/getappmap/appmap-js/pull/895

It's also different than the indexer crash. When ENOSPC is caught here, this.appmapWatcher isn't set.

It also isn't set if either or both of this.appmapPoller and this.configWatcher aren't started. Commenting out the line that sets it to undefined still leads to this.appmapWatcher not being set.

appland-release commented 1 year ago

:tada: This issue has been resolved in version @appland/scanner-v1.74.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

appland-release commented 1 year ago

:tada: This issue has been resolved in version @appland/appmap-v3.54.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: