vscode-codeql icon indicating copy to clipboard operation
vscode-codeql copied to clipboard

Confusing error message when the query server is out of memory

Open aeisenberg opened this issue 5 years ago • 0 comments

The user is not properly notified when the query server runs out of memory. A popup message appears with "Internal Error" on it. There are logs in the query server that state an OOME occurred, but the majority of users will not know where to find that information.

Proposed solution:

  1. Detect when the query server runs out of memory
  2. Open an error message dialog with the following text "The query server has run out of memory and will be restarted. Please run your query again." (Or something like that.)

It would be even better if we could give instructions on how to add more memory to the query server, but I don't think that's possible.

aeisenberg avatar Aug 28 '20 14:08 aeisenberg