2012-12-15

Entries

Learning about Java Heap Size after a database migration using Ant failed with java.lang.OutOfMemoryError: Java heap space.

#

A very clear resource: 6 Common Errors in Setting Java Heap Size

#

As well as Build Failed java.lang.OutOfMemoryError: Java heap space

#

The general suggestion is executing something like this before running Ant: export ANT_OPTS=-Xmx1g

#

You can use the following command to find out the default Max Heap Size: java -XX:+PrintFlagsFinal | grep MaxHeapSize

#

Another useful answer: What is the default maximum heap size for Sun's JVM from Java SE 6?

#

My friend Seth posted this Gmail interface for vim: Vmail

#

It's neat but I don't think I want to learn a whole additional set of commands for vim.

#

Comments

comments powered by Disqus