TO me the main error seems a memory allocation problem:
What system are you using? How much memory does it have?
Some possible solution were discussed in this thread:
As aside, you are using quite an old version of qiime2, it may be beneficial try with the latest one!
Also, did you visualized your samples after trimmomatic imported in qiime2?
Are the looking ok? (In term of sequence number and length)