Bad allocation error every 4 plots

hey all, hope some one can assist, i have 3 drives plotting on my main machine, i also have a server running truenas linked on the network, if i try to plot on the server I get bad allocation, i thought it may be a server issue so I stopped all the plots and ran 1 on the server and 2 on the main machine all plotted fine, when I tried to add another plot to the main machine I get bad allocation.

main pc has 6 core 12 thread CPU and 32gb ram
server has 2 x 4 core 8 thread CPU and 96gb ram
I haven’t messed with any optimisation or any OC

Sounds similar to this topic?

yeah your right, i did read this thread, but im not to sure what a pagefile is