what vps are you using? the problem is that the vps only provides a virtual server with a
total amount of memory; applications won't necessarily see that as a monolithic contiguous segment of memory, which is what the jvm in particular needs
this vps article may or may not help