Java heap space out of memory in simple repo server