Serial Communication stops after a few seconds?

I have an arduino chip that is sending serial data to processing. Right now I'm basically running a test by running Serial.println(millis());. Processing prints out millis(), but for some reason the feed seems to stop after 20 or so printlns. Any thoughts?

do you have any sort of delay between the printlns? Maybe you're just swamping the pc's serial buffer.

failing that look for something resetting the usb/serial port periodically.

Thanks for the speedy reply! So, right after I posted, I went and removed the delay from this function:

void establishContact() {
while (Serial.available() <= 0) {
Serial.print(’.’, BYTE);
}
delay(300);
}

I called this function at the top of loop(), since it seemed that without it the arduino chip would miss the first part of data sent over from Processing. I don’t know if it’s proper or a totally hack job, but I now have the function like this:

void establishContact() {
Serial.print(’.’, BYTE);
}

which seems to have fixed the issue, with the Arduino chip receiving the entire stream from Processing and also not dropping the connection on its end. Is this an okay way to do things? Or am I missing something fundamental about connections, Arduino and serial data?