Hi Gerald,
So you are runing Ubuntu on your machine? Perhaps you need to allocate more
resources to Java using this type of setting (though you should adjust the
values down a bit, since you dont have that much memory)