Anyone experience the following error in SAP while bot is running:
Error in communication (invalid shared memory)
Since this error occurred multiple other SAP related issues started including flashing popups screens, additional menus not loading is full etc.
If anyone else has experienced this before and manage to get it resolved please advise.
It is something to do with Memory Management. What I suggest is, if you have huge number of records to process, after some number of records get processed, kill all the application used and restart them. Killing application releases memory held for the process. I guess this should solve your problem.
One more suggestion I can give you here is, remove the overwrite option for the screenshot saving (if you are using it) whereby saving file uniquely by creating file name with system variables (day, month, year, hour, minute, second and millisecond).
Thank you for the reply.
The bot automatically kills all programs and restarts on failures, however after restarting on the first transaction it will fail again. It seems to be intermitted and in no specific area although many concurrent switches on dropdowns does cause this failure easier.
I am sure this error is a SAP error and not a bot error (as all the other problems only started after this happened) and the follow up message you receive once you click on is “RRP: Compression error [rc=]-program will be terminated” with a SAP GUI for Windows 770 header. It has also been running fine for the last month on the exact same sequence and with the same volumes without any issues.
I am not using screenshots.
If you have any other advise please let me know.
Curious to know how you are recoding the Error screen shots.
This error can occur when the SAP system is unable to handle the amount of data being processed, which can happen when there are a large number of concurrent transactions or when there are issues with the network connection.
To troubleshoot this issue, I would recommend trying the following steps:
Check the network connection to ensure that it is stable and not experiencing any issues.
Try reducing the number of concurrent transactions to see if that resolves the issue.
If the issue persists, I would recommend reaching out to SAP support for further assistance. They will be able to provide more detailed troubleshooting steps based on your specific system and configuration.
In general, it is always a good idea to regularly check for updates to your SAP system and apply them as needed to ensure that you are running the latest version with the latest bug fixes and performance improvements.
Contact your SAP Basis and try to identify something in the SAP logs. The memory provided for the process dont seem enough for the amount of data. Probably needs a flush of memory. Try to handle a less data and see the behaviour.
https://answers.sap.com/questions/3969046/invalid-shared-memory-key34.html (kind of old)
Did you solve your issue ?
I’m currently experience the same as you with SAP..
Thanks in advance for your feedback.
There has been a lot of changes we have tried since the error, with the SAP basis team, but no resolution as yet.
We have enabled trace files in SAP and we will see whether the trace files can provide us with any solution.
I will keep you updated.