[wsf-dev] wsf-dev Digest, Vol 2, Issue 3: Some Decision Making
Scott Cantor
cantor.2 at osu.edu
Mon Feb 5 21:52:11 EST 2007
> I'm not sure it's a big issue if we are talking about relatively
> small messages (several to 10K). Certainly this could be an
> issue for GB messages, but I think the phone would have a
> problem with that size even in binary.
Actually, you'd be amazed at what a memory hog some DOMs are. Not applicable
here, but until Xerces 3.0 comes out, the C++ version is unbelievably bad.
It sucks up 64k per document and bleeds memory on top of that in 64k chunks.
And that doesn't include the objects around the DOM. So it does matter for
constrained environments.
For the record, my project accepted the trade-off (and we only target
servers right now) and simply doesn't have the resources/expertise/interest
to support streaming XML. Server memory and CPU is cheaper than our
programming time.
As far as J2ME goes, I think it's probably safe to say our code doesn't run
on it, but I couldn't say for sure.
-- Scott
More information about the wsf-dev
mailing list