Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

C/C++test plugin for Eclipse: eclipse.exe -vmargs -Xmx1400m

You canalsocustomize the amount of allocated memory with the CPPTEST_ENGINE_EXTRA_ARGS option by specifying the value of the -Xmx setting. This may be particularly useful for when you perform static analysis or report results to DTP. See Configuring Advanced Options for details.


If C/C++test runs out of memory when generating the report, see What if C/C++test runs out of memory when generating the report?.

...

If you suspect that your problems stem from network or connection problems, you may want to try adjusting timeouts by adding the following switches to your JVMpassing these Java system properties to the Eclipse process:

SwitchDescription
Example
parasoft.ws.timeoutSets socket timeout for all services.
Value
The value is in seconds
-Dparasoft.ws
.
timeout=60
parasoft.ws.connection.timeoutSets connection timeout for all services.
Value
The value is in seconds.
-Dparasoft.ws.connection.timeout=15
parasoft.tcm.timeout

Sets timeout for the Team Server service. It could set timeout only for this service or override the value set by the general


 parasoft.ws.timeout

,

. The value is in seconds.

Example:

C/C++test standalone: 

Code Block
cpptest.exe -J-Dparasoft.ws.timeout=180
cpptest.exe -J-Dparasoft.ws.connection.timeout=15
cpptest.exe -J-Dparasoft.tcm.timeout=30

C/C++test plugin for Eclipse: 

Code Block
eclipse.exe -vmargs -Dparasoft.ws.timeout=180
eclipse.exe -vmargs -Dparasoft.ws.connection.timeout=15
eclipse.exe -vmargs -Dparasoft.tcm.timeout=30

If only parasoft.ws.timeout is set, it affects both socket and connection timeout.

...

This workaround is only available for CDT-managed projects.

Scroll Pagebreak