OutOfMemoryError : How to increase the memory for C/C++test Standard

Andrey MadanAndrey Madan Posts: 283 ✭✭✭

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.

Comments

  • piotrpiotr Posts: 27

    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>

Sign In or Register to comment.