CA Directory is memory-based, and all data and indexes are persistently loaded in memory. In pure CA Directory best practices, the RAM for the server running CA Directory should equal 3 times the total size of all the LDIF files for each active DSA, *plus* the OS overhead and any memory requirements for other applications.
Now keep in mind that when you increase your data file to 8 Gb, not all 8 Gb gets loaded in memory, only the amount of data within that file. The more you add data the more the memory allocation grows. This means that if you continue to use the server without adding any memory, you will see performance degradation over time as your data grows.
To be on the safe side, you need to increase your memory according to the formula above and account for the OS and the memory requirements of the other CA Identity Suite components.
--