1

We have a Nexus repository with some thousand artifacts - jars, war and ears. I tried to scan this repository with jQAssistant (using scan -u maven:repository:...), but even 4GB of heap memory for Java 1.7 were not enough, an out of memory error occured after some hours.

Is there a way to reduce the memory consumption, e.g. scanning the repository in parts? Or can I configure jQAssistant to use less memory?

J Fabian Meier
  • 33,516
  • 10
  • 64
  • 142

1 Answers1

1

The repository scanner has been tested with a quite large set of artifacts running for hours, so this is a bad surprise.

It would be helpful to see the cause of the problem. Can you do the same run with

JQASSISTANT_OPTS=-XX:+HeapDumpOnOutOfMemoryError ...

load the generated dump with Eclipse MAT (http://www.eclipse.org/mat/) and create a leak suspects report (that's one of the options offered directly after loading the dump)?

Dirk Mahler
  • 1,186
  • 1
  • 6
  • 7