User:Kevin Baas/stat generator code

From Wikipedia, the free encyclopedia
Jump to: navigation, search

The stat code generator is written in Java. I used Eclipse for development, jre6, and i think jdk 1.6.somethingorother. The main entry function is, unsurprisingly, Main.main(String[] args).

Last modified date last modified on: 16:37, 7 March 2010 (UTC)

Have at it. public domain. Kevin Baastalk 19:06, 4 March 2010 (UTC)

You'll probably have to increase the java heap space to handle the memory requirements (given the dataset is so large). I have mine set (using vm parameters) at:

-Xms2048M -Xmx655360M

Obviously it's never going to use anywhere near the max. Other thing is if it's still bombing out with an insufficient memory error, make sure your machine ahs a big enough swap file (virtual memory) allocated. If that doesn't fix it, try running it on a different operating system. For some reason it runs on my XP-64 box, but not my Vista box. If you have any questions just leave me a note on my user talk page. Kevin Baastalk 19:56, 4 March 2010 (UTC)