There is nothing we can help you with here. You are running out of memory as the exception is telling you: java.lang.OutOfMemoryError: GC overhead limit exceeded
Increase your maximum memory or analyze where you are wasting memory. Either way, this is not something that is directly Hibernate related, so I would suggest that if you want help with that, ask in a forum like StackOverflow for example.