Submit and vote on feature ideas.

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

Options
Andrey Madan
Andrey Madan Posts: 388 ✭✭✭

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

  • piotr
    piotr Posts: 36
    Options

    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>