Hi Ahmed,
Please could you confirm the Lightstreamer server version in use and if you have added some GC tuning to your Lightstreamer instance?
The garbage collection can be tuned in the launch script of Lighstreamer server, LS.bat or LS.sh depending your os.
Please note that since Lightstreamer 6 we officially adds configuration for MaxGCPauseMillis that try to set a target for the maximum GC pause time. This is a soft goal, and the JVM will make its best effort to achieve it.
This option is valid definitely for Lighstreamer 5.x too; furthermore in case of large heap we also suggest the G1 algorithm. G1 is an incremental parallel compacting GC that provides more predictable pause times compared to standard GC in particular with large heap.
Hence, if you have not yet set any specific GC tuning you might try something like this:
set JAVA_OPTS=-server -XX:+UseG1GC -XX:MaxGCPauseMillis=1000 -XX:G1ReservePercent=20
Regards,
Giuseppe