Since mining nodes has memory limitations, what would happen if transaction and orphan pools is full?
If the nodes need to drop certain transactions, how does the nodes choose which transaction to drop?
Those paying the lowest feerate are dropped, working similarly to the transaction selection logic for blocks which prioritizes transactions that have the highest feerate.