Thanks for the response. The Mini has 8gb. The server runs fine when I run it by clicking ftbserver.jar. I have no idea what the java settings are when run this way.
When I start it with any script giving Java memory parameters, I get the errors and the server lags. I have tried the following...