Quantcast

OutOfMemory PermGen Errors

OutOfMemory PermGen Errors
In the past I’ve gone to the good old reliable “-XX:MaxPermSize=256m” (or 384m, 512m, etc.) to try to get redeploys in webapp containers like Tomcat and Glassfish to allow numerous hot-redeploys. I figured I’d invest a little time in sorting this out to see if there’s a better solution – unfortunately it doesn’t look like ...

Spring wiring private init-method

While adding some unit tests to older Spring code, I noticed that the production Spring configuration was wiring together some pretty simple Factory objects that had private init() methods (took a few minutes to figure out why I kept getting wavy lines), that looked like this: 1234567891011121314private void init(){ try { StringBuilder sb = new ...

IntelliJ and JRebel

So, after enduring some abuse from colleagues who miss VisualStudio (I have to admit – that feature to move the program counter does look really cool) I spent a bit of time the other day setting up with a trail-run of JRebel. So far the experience has been pretty fantastic – I can use maven to jetty:run ...

[Fixed] IntelliJ Ubuntu Launcher Problem

http://ubuntuforums.org/showthread.php?t=224100I had a bunch of trouble getting a GNOME launcher to successfully execute (interestingly enough, the Eclipse/STS launchers mostly worked fine) – turned out it was related to JDK_HOME not being recognized by GNOME. I’d gotten accustomed to setting up my environment variables in ~/.bashrc and sourcing that into .profile – apparently GNOME looks in ...

Trying IntelliJ, For Real this Time

So – have been getting an increasing amount of weirdness with Eclipse/m2Eclipse/STS recently, which has made experimenting w/Intellij increasingly attractive. Going to try doing a mostly turkey switch for a few days, and see – since many people I know and respect rave about it. Initial thoughts: Maven import was real easy, and looks to ...