englishteeth.co.uk

… the weblog of Ian “English Teeth” Robinson
  • rss
  • Home

This week I have mostly been reading…

April 13, 2008 | 11:22 pm

There’s no way to read everything I come across in detail. Once again a few highlights I want to go back over.

  • The Next Programming Skill You Should Learn
  • Mr Hampton pointed me toward some interesting tutorials here
  • Working with Hibernate in Eclipse here
  • About home file server solutions various places including here, here and here
  • Stuff about Groovy and Grails here, here and here
  • the Option monad here
  • a gift idea here
  • Google charts here and here, while looking for something completely different. (I don’t even remember what!)
Comments
No Comments »
Categories
development
Tags
eclipse, grails, groovy, hibernate, java, links, patterns, tutorials, whs
Comments rss Comments rss
Trackback Trackback

Setting up eclipse

February 25, 2008 | 2:55 pm

The default amount of memory Eclipse runs with is small and “Out Of Memory” errors are common. It is advisable to specify values on the command line by creating a new shortcut to the eclipse executable. These values can also be specified within the eclipse.ini file, but I have found changes here tend to be ignored (this may be an eclipse version issue that may have been fixed, but worth being aware of, just in case).

-vmargs -Xms512M -Xmx1024M -XX:PermSize=128M -XX:MaxPermSize=256M

The -Xms and -Xmx options specify the minimum and maximum heap size. The “Heap” being where all your objects live.

The -XX:PermSize and -XX:MaxPermSize options specify the minimum and maximum “Permanent Generation” memory and this is where objects which are not going to be garbage collected reside.

A shortcut to the eclipse executable is also useful for specifying other things, such as the workspace to use. Handy if you need to use multiple workspaces (e.g. HEAD and BRANCH scenarios).

Comments
No Comments »
Categories
development, software
Tags
eclipse, java
Comments rss Comments rss
Trackback Trackback

Author

Ian Robinson is a relatively agile software engineer interested in things both sides of the object relational divide and beyond.

Categories

  • development (35)
  • miscellaneous (20)
  • music (7)
  • software (13)

Blogroll

  • Dan North
  • Dave Astels
  • Dave Wood
  • eirikso.com
  • Matt Raible
  • Object Mentor Blog
  • The Ancient Art of Programming
  • The Wisdom of Ganesh

Tags

active-mq architecture bauhaus blu-ray css db eclipse esb festivals freesat gorm grails groovy hd hd-dvd hibernate java jboss jms junit links mce media center mini music oracle osgi patterns pirsig plugins satellite soa software spring sql struts2 testing themes tools tv web wordpress xml xpath xslt
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox