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

Andrey MadanAndrey Madan Posts: 335 ✭✭✭

If you see an OutOfMemoryError in the cpptest.log, you might need to increase the max heap memory for the analysis:


In this example we suggest doubling the size of the heap.


  • piotrpiotr Posts: 31

    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.