Tuesday, September 30, 2008

Mount And Blade More Troops

Drupal Move from one host to another Eclipse

Of course I am referring to the version for linux, which by default uses gcj and the heap size is set sucks. Let's see how to solve. 1. Under a distribution-like ubuntu install eclipse and the sun jvm home:

sudo apt-get install eclipse sun-java6-jdk 2. We set up the Sun's JVM as the default in the system:


(K / e /...) ubuntu: sudo update-java-alternatives-s java-6-sun
opensuse: sudo update-alternatives - config java

3. Edit the file / etc / jvm and / etc / eclipse / java_home adding the path to the top of the new jvm:


/ usr/lib/jvm/java-6-sun


4. Finally we set the heap size by editing the file / usr / lib / eclipse / eclipse.ini. Here's how I changed my having a GiB of RAM

-vmargs
-Xms256m-Xmx512m



... default values \u200b\u200bwere shocking even for old desktop ... :)




0 comments:

Post a Comment