I noticed some messages in Nexus’ log about changing some settings for the OrientDB:
2022-09-09 07:00:21 INFO [Timer-0 ] - com.orientechnologies.common.profiler.OAbstractProfiler$MemoryChecker - Database 'npm' uses 3,480MB/4,096MB of DISKCACHE memory, while Heap is not completely used (usedHeap=4398MB maxHeap=7282MB). To improve performance set maxHeap to 5277MB and DISKCACHE to 6100MB 2022-09-09 07:00:21 INFO [Timer-0 ] - com.orientechnologies.common.profiler.OAbstractProfiler$MemoryChecker - -> Open server.sh (or server.bat on Windows) and change the following variables: 1) MAXHEAP=-Xmx5277M 2) MAXDISKCACHE=6100
After googling this, I found blog post about how to optimize the DB for Nexus3: https://support.sonatype.com/hc/en-us/articles/115007093447-Optimizing-OrientDB-Database-Memory-
However, since I am running a Nexus2 instance, this is not directly helpful for me.
Is there any documentation out there on how to do the same thing as mentioned in the article but for Nexus2? If no documentation exists, but someone knows how to set this up, a reply to this post would obviously be really helpful as well.