You have set the maximum queue size as 2, then you are attempting to enter 20 elements into the queue.
Queues are indented for use to be used in parallel, rather than in series. What exactly are you trying to achieve? In your current set up, an array would be more appropriate.
For more information on queues, you can look them up in the examples section under help.
_____________________________
- Cheers, Ed