Hi all,

Today I learnt of a case where a S7 PLC was asked for a lot of data in very 
short periods. This seems to have caused the send-queue to build up faster than 
it could be drained. In the end this caused OutOfMemory errors. However, we 
should probably detect this situation in which over a longer period of time the 
queue grows.

How do you think would be the best way to address this? I know we're using 
Julian's transaction thingy to take care of the sequence in which things are 
sent to the PLC ... so I would assume this would be the place to fix it as this 
would fix the problem for all drivers.

@Julian Feinauer<mailto:[email protected]> could you possibly find 
some time to come up with a "solution" to this problem? I think we can't 
gracefully handle it as this is something where the user is trying to do the 
impossible, but at least we should probably fail requests if the queue is 
growing too fast ... OutOfMemeory errors are unfortunately nothing you can 
gracefully recover from.

Chris

Reply via email to