Monday, December 14, 2009
Friday, December 11, 2009
Work away from work
Did not want the accumulated leaves to lapse at the year end. Hence took few days off from work. Staying at home whole day on a week day means- I will have to spend time in the garage :). Just finished servicing the bike today. Overhauled the gear box and primary drive and also the front forks. It rides like new now. Pleased with the effort and saved about 600/- rupees that is about 12 beers :P








Saturday, November 14, 2009
Back to cricket ground
Played a cricket match after three years today. We defeated Hitachi by six wickets in a local IT cup played at Khadki Cantt ground. I took to the ground like duck takes to water :D and affected one run-out, one caught behind and quite a few close stumping calls. The affect of keeping behind the stumps for 25 overs will be known only by night... need to stock ample Paracetamol at home .
Friday, November 06, 2009
Eclipse, Ant and java.lang.OutOfMemoryError
Launching Ant builds from Eclipse sometimes gives following error
[javac] Compiling 941 source files to C:\xxx
[javac] The system is out of resources.
[javac] Consult the following stack trace for details.
[javac] java.lang.OutOfMemoryError: Java heap space
...
After a bit of Google and experimentation, this is what works for me. Basically changed the JRE settings to use a bigger chunk of memory (Go to Window ->Preferences ->Installed JREs -> Default JRE -> Edit) for heap and stack like
-Xms256m -Xmx512m -Xss1m -XX:MaxPermSize=128m
[javac] Compiling 941 source files to C:\xxx
[javac] The system is out of resources.
[javac] Consult the following stack trace for details.
[javac] java.lang.OutOfMemoryError: Java heap space
...
After a bit of Google and experimentation, this is what works for me. Basically changed the JRE settings to use a bigger chunk of memory (Go to Window ->Preferences ->Installed JREs -> Default JRE -> Edit) for heap and stack like
-Xms256m -Xmx512m -Xss1m -XX:MaxPermSize=128m
Sunday, October 18, 2009
Subscribe to:
Posts (Atom)
