Hello,
We had again an out of memory issue with NXRM3 3.27.0-03 and I've got a head dump now. It's rather big and I suspect it might also contain sensitive data and therefore I'am hesitant to share it in the sonatype issue tracker. Maybe you can let me know what to look for in the heap dump?
I've also gone through the nexus and request log and on the day of the dump, I saw a huge number of bad requests (more than 3500 before the out-of-memory) in the request.log:
```
"GET /repository/cc-nuget HTTP/1.1" 400
```
resulting in the same number of WARNs in the nexus log:
```
WARN [qtp73856825-731] *UNKNOWN org.sonatype.nexus.repository.httpbridge.internal.ViewServlet - Bad request. Reason: Repository path must have another '/' after initial '/'
```
I'm already in contact with the developers making these bad requests to change the nuget.config, do not really believe it might be causing this out-of-memory error, but I do wonder if this somehow caused the problem. I will try to reproduce this in my test environment.
Other ERROR's in the nexus log before the memory dump:
```
2020-10-06 08:58:28,960+0200 ERROR [qtp632432402-87402] *SYSTEM org.eclipse.jetty.util.log.StdErrLog - 2020-10-06 08:58:28.960:WARN:oejs.HttpChannel:qtp632432402-87402: /static/rapture/baseapp-prod.js
java.lang.IllegalStateException: ABORTED
at org.eclipse.jetty.server.HttpChannelState.sendError(HttpChannelState.java:896)
at org.eclipse.jetty.server.Response.sendError(Response.java:466)
```
And just before the memory dump:
```
2020-10-06 16:16:40,947+0200 ERROR [nexus_QuartzSchedulerThread] *SYSTEM org.quartz.core.ErrorLogger - An error occurred while scanning for the next triggers to fire.
org.quartz.JobPersistenceException: com.orientechnologies.orient.core.exception.OCommandExecutionException: Cannot execute query "SELECT * FROM quartz_trigger WHERE state IN [ ?,?,? ]": low heap memory
DB name="config"
at org.sonatype.nexus.quartz.internal.orient.JobStoreImpl.acquireNextTriggers(JobStoreImpl.java:957)
at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:287)
Caused by: com.orientechnologies.orient.core.exception.OCommandExecutionException: Cannot execute query "SELECT *
FROM quartz_trigger WHERE state IN [ ?,?,? ]": low heap memory
DB name="config"
```
Please let me know what to do with the heap dump. I will try to investigate myself as well, but any help is highly appreciated.
We are monitoring the heap memory now and it looks like:
I've also got garbage collect logging.