Changing Confluence Java Memory Pool
Open Services and find the Atlassian Confluence Server right click and copy the service name.
Then open Command Prompt and run these commands. Note these might change from your installation. Then you will be bale to adjust your memory size.
CD C:\Program Files\Atlassian\Confluence\bin