| Compid documentation

# Troubleshooting

## Concerning Memory

Compid uses quite a lot of memory for some operations.

If memory runs out (you see OutOfHeapSpace exceptions), edit the startup script file (compid.cmd or compid.sh) and increase the -Xmx parameter. A good idea would be to do it in 50 MiB increments.

If you use Mascot Parser plugin and it crashes the software with ACCESS_VIOLATION errors, it is usually because too much memory is allocated. To fix this, lower the -Xmx and -Xms parameters in startup scripts.

Default values for -Xms and -Xmx Java parameters, which seem to work well for most computers with at least 1 GiB of memory are: -Xms128m -Xmx850m

Remember to start Compid with the script in question and not by running compid.jar.