Jump to content

User:Kevin Baas/stat generator code

From Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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)