Google

Thursday, January 26, 2006

Unexpected error

Yesterday, I began trying to load a 900MB text file of world placenames into a Berkeley Java database. For this, I wrote a simple Java program - the program reads a line, uses the Jakarta ORO regular expression library to split it over tab boundaries into a number of fields and then builds a new string composed of the fields I'm interested in and writes it to the DB using the placename as the key. Fairly simple. But after 5-10 minutes runtime, the program suddenly halts with a strange error message "unexpected error detected by Java Hotspot virtual machine. Internal error ....blah blah". (This is with the latest 1.5.0.06 JDK). Running the same program under JDK 1.4..2_10 also produces a similar error, but with a "SIGSEGV error" instead of "internal error".

Overall, bad news. Probably the next step is to check out the bug database at java.sun.com, to see if there any workarounds.

Went to my third TaeKwon-do lesson last night, and this morning, I'm sore all over. I must have bludgeoned a finger, because typing is not exactly pain-free.

0 Comments:

Post a Comment

<< Home