Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Appending at the end of an Xml file efficiently

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT ibiblio.org>
  • To: Anvesh Vagiri <yahanvesh AT gmail.com>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Appending at the end of an Xml file efficiently
  • Date: Sat, 20 Jun 2009 06:41:45 -0700

On Fri, Jun 19, 2009 at 11:34 PM, Anvesh Vagiri<yahanvesh AT gmail.com> wrote:
> hi,
>
> I am just a newbie to XOM, and i need to append nodes to an existing
> xml file always at the end
> I used the code available here.
>
> http://marc.info/?l=xom-interest&m=117286293113470&w=2
>
> But unfortunately it gives Out of memory error in my java netbeans
> when the file size increases more than just 10-15MB.
>

1. Try running the code outside NetBeans.
2. Use a profiler to see where the memory is going, and if you have a
memory leak somewhere.

--
Elliotte Rusty Harold
elharo AT ibiblio.org




Archive powered by MHonArc 2.6.24.

Top of Page