What are you doing with the SAX events? Build up a model in memory (or let
DOM do that). You might just hit the 16 MB max memory barrier. Check it with
DDMS during execution.
Btw. a stacktrace and code would be nice.

On Sat, Apr 25, 2009 at 1:21 PM, andreas.walt...@googlemail.com <
andreas.walt...@googlemail.com> wrote:

>
> Hi,
>
> I'm trying to parse an XML file from res/raw or assets/ using the
> javax SAX parser. When the file is too large (~ 1MB), the parse(...)
> method throws an IOException without further information, such as
> message  or inner exception. When I reduce file size to e. g. 600 kB,
> it's working again.
>
> Did anyone else run across this issue? Any suggestions?
>
> Thanks,
> Andreas
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to