Hello,
A few days back I increased the max heap memory pool for Confluence to 2048 MB. Other details are as follows:
Initial Memory pool: 256 MB
-XX:MaxPermSize=384MB to the java options section.
After this issue I restarted Confluence and it is working fine now but I somehow feel that it will happen again. So, wanted to report this problem. Attached, are the Confluence log files.