changed permGen back to 256mb but checked if running 32bit or 64 bit
minor mistake with > and >=