Re: Re: Re: Re: Re: Re: Slow page load
Posted by
Ralf Jung on
Dec 22, 2010; 11:39am
URL: https://discuss.orbeon.com/Slow-page-load-tp2768407p3160503.html
Hi Erik,
honestly, it's not worth it. This import is done once, maybe twice a month,
and while it is certainly not perfect, I can live with it taking 1.5GiB of RAM
and 30 minutes. I did not expect to meet so many issues on that way, but hey,
that's life ;-)
First thing I had to do to get it faster is to implement the splitting of the
original document manually in some Java processor, as I doubt XSLT can work
without a full DOM tree. And even then, url-serializer would not give me the
server's reply to my POST request, which I need to see whether all went well.
Thanks again for all your help,
and Merry Christmas!
Ralf
Am Mittwoch 22 Dezember 2010, um 03:02:20 schrieb Erik Bruchez:
> Ralf,
>
> Puzzling! That's probably explained by the fact that we almost never
> use oxf:url-serializer, and it has been a bit out of date for a while.
>
> The issue is probably that our implementation of HTTPURLConnection
> doesn't override getOutpuStream(). The default implementation in the
> JDK simply throws an exception.
>
>
https://github.com/orbeon/orbeon-forms/blob/master/src/java/org/orbeon/oxf/> resources/handler/HTTPURLConnection.java
>
> That shouldn't be too hard to fix if you want to give it a try.
>
> -Erik
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws