« Return to Thread: Re: [sonar-dev] FW: Switching off CPD (running in Maven 2)

Re: [sonar-dev] FW: Switching off CPD (running in Maven 2)

by Freddy Mallet :: Rate this Message:

Reply to Author | View in Thread

Hi Jan

There is currently no way to deactivate CPD but could you try to highly increase the "CPD minimum token" parameter in the Configuration -> Settings page, let's say to 5000.

I'm not sure about that but I believe this parameter value has an impact on the memory usage.

By curiosity, what do you mean by HUGE ?

Thanks,
Freddy

On Wed, Jul 1, 2009 at 2:49 PM, Jan Naude <Jan.Naude@...> wrote:

Hi guys,

 

I’m running Maven 2 and I’m testing the integration of Sonar into Maven (or Maven into Sonar as it were).

 

As part of executing the Sonar goal, CPD is also run. The problem is that one of my Maven project is absolutely HUGE, and CPD runs out of memory at around 1.6 Gb, analyzing this project.

 

Is there a way that I could disable just CPD from running? I looked on the net, at everything I could find, but can;t find anything on this?

 

Thanks,

 

Jan


 « Return to Thread: Re: [sonar-dev] FW: Switching off CPD (running in Maven 2)