Hi Aaron,

I just checked the code, and you're absolutely right---it reads in _all_ of the files, _then_ tries to send the data.

And if you get an out-of-memory error, you do indeed run the risk of losing everything. That is totally my bad.

Fortunately, the fix is simple, just as you suggest: read and send one file at a time.

I've posted this to Jira and will fix it for 7.1.

(Maybe this will motivate you to upgrade to 7.x. :-)

Cheers,
Philip

--On Friday, December 9, 2005 1:50 PM -1000 Aaron Akihisa Kagawa <[EMAIL PROTECTED]> wrote:

Hey Guys,

My local hackystat server was down for 3-4 days and I was gathering a lot
of offline data. when my server came back up, and the offline data was
trying to send I got an OutOfMemoryException.  AND lost all that data.

One possibility is that we are trying to send all the offline data at
once. This would obviously cause an OutOfMemoryException trying to send a
hundres of serialized files. So, if this is the case, then sending the
files separately would be a good thing to do.

OH. by the way, I'm still running version 6. But, I assume that the
offline storage hasn't changed in version 7.

thanks, aaron

Reply via email to