Rebot commad is not working in large XML file

Hi Team,
I am running the Robotframework Script in Jenkins Linux environment. in that i am using the Rebot option to remove the unwanted log in xml but due to the xml size is large (ie, more than 300 MB) it is not working
can you please give me the solution for large XML files

I replied this elsewhere. Please do not cross-post.