Instead of adding all at once, you can create a collection of a single item. Loop through your input collection and copy data from the i-th element to the single item collection and add that item to the queue, then loop again.
Will then be able to able add many items regardless of the amount of memory available.