Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.
OutOfMemoryError : How to increase the memory for C/C++test Standard
Andrey Madan
Posts: 388 ✭✭✭
in C/C++test
If you see an OutOfMemoryError in the cpptest.log, you might need to increase the max heap memory for the analysis:
install_dir/etc/cpptestcli.jvm
In this example we suggest doubling the size of the heap.
0
Comments
-
If you want to increase the memory for selected runs of analysis, you can use "-J-Xmx" command line switch (it will overwrite what's specified in etc/cpptestcli.jvm):
> cpptestcli -J-Xmx4096m <cpptestcli options>
1