In NFA, get error RPA15: Out of Memory

Document ID : KB000116954
Last Modified Date : 20/10/2018
Show Technical Document Details
Issue:
In the RealtimeReaperError*.Log file, you will see several errors like :

RPA15: Out of memory with error: 12 while trying to preallocate -2147483632 bytes for file in path: E:\CA\NFA\Netflow\datafiles\ReaperArchive15\172029040003\00000\1538006400\
Environment:
NFA 9.x and above
Resolution:
First, delete or move any old files older than the last 15 minutes out of the ReaperWork and any .BAD files in the ReaperInput folder.
Free up disk space if it is running low, and restart all the NQ services.

If you're still getting the error then do one of the following.

Windows:
1. RDP to the Harvester/DSA and find the \<Install Directory>\NFA\Netflow\bin\netqosmy.ini file
2. Edit the file and add the line below in the [mysqld] section of the file using the path where you would prefer the files be moved to:
          tmpdir=E:/CA/NFA/MySql/tmp2

3. Create the new folder used as the tmpdir in step 2.
4. Save the file and recycle the 'Netqos NQMysql' Service.

Linux:
1.  SSH to the Harvester and locate the two files below:
          /opt/CA/NFA/NetFlow/my.cnf
          /opt/CA/NFA/Mysql/my.cnf

2.  Edit the file in vi or any text editor and add the line below in the [mysqld] section of the files using the path of where you would like to have the files move to:
         tmpdir=/opt/CA/NFA/MySql/tmp2

3. Create the new folder used as the tmpdir in step 2.
        mkdir /opt/CA/NFA/MySql/tmp2
        chmod 755 /opt/CA/NFA/MySql/tmp2

4.  Save the two files and recycle both MySql services by running the commands below:
        /etc/init.d/mysql restart
        /etc/init.d/nfa_mysqlCSE restart