This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Getting many hprof files on disk... change JAVA_HEAP_OPTS ???

We have started getting our disk filled up with hprof files...which my understanding are Java heap dumps

Suggestion on another Micro Focus product I found was to increase the size of memory allocated.  I can find the below and I am wondering if changing these will help as it did on other product for someone.

Our box has 32 GB of memory so lots of free memory

I don't see any references yet on how to change or set these values below in documentation....

We are using UFT Mobile 3.4

just something I found in setenv_common.bat

specifically this:
set JAVA_HEAP_OPTS=-Xms1024m -Xmx2048m -XX:MaxMetaspaceSize=512m -XX: UseParallelGC -XX: HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=%CONSOLE_HOME% -XX:ErrorFile=%CONSOLE_LOG_DIR%\java_error%p.log

 

 

  • 0

    Hi,

    We are working on this issue together with you via a support case and have provided you the instructions how to increase the heap size (as you specified below) and provided a way that only 1 dump file will be written in case of out of memory issue occurs, instead of creating multiple files that will consume the whole C drive space.

    Lets continue to work on this topic via the support case.

    Regards,

    Erez.

  • 0 in reply to 

    Yes sounds good....