[CentOS] "Cannot allocate memory" java exception - apache still returns "200 OK"