OutOfMemoryError: Java heap space

If you get an error such as this:

A query sent to the server has returned a large object and while trying to convert that result to a java object the program ran out of memory. There are two things you can try:

  1. Increase the memory java is allowed:
  2. Reduce the memory qStudio uses by reducing the max object size and the history size (see screenshot below)
qStudio Memory Settings