[Cosmo] Exception When PUTting Event,
Slowness when PUTing recurring event
br at osafoundation.org
Tue Dec 20 19:38:57 PST 2005
I encountered a couple of funny things recently with a recent Cosmo
build (revision 1020 - trunk as of yesterday afternoon).
The first thing I tried was PUTting (with cadaver) a small (4k)
icalendar file I created with iCal into a collection that I created
with MKCALENDAR. It almost immediatly returned an out of memory
exception. I thought it was strange since it was only a 4k file, but
I decided to try again with a larger (512megs) heap. This time it
took a much longer time - like 5 minutes and from top it seemed that
it was using all of the heap.
BCM and I suspected that it could have something to do with with
expanding out recurring events, so I decided to test that by
separating out my events into separate files. This time however I got
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> at java.lang.String.substring(String.java:1768)
> (Unknown Source)
I thought maybe it had something to do with garbage in my repo, so I
tried again with a fresh repo, and got the exact same thing.
The icalendar file that caused the problems follows. Maybe there is
something weird with my file, but the Exception is still probably not
what you want happening.
The resource does get PUT though, I'm just worried that all the
indexing that needs to happen is not happening because of this.
VERSION:2.0pen Source Applications Foundation//NONSGML Scooby Server//EN
More information about the Cosmo