Results 1 to 2 of 2
  1. #1
    naveensh is offline Member
    Join Date
    Jan 2010
    Rep Power

    Default outofmemory error exception in saxparser.

    Hi All,

    I am using the Saxparser.

    i am parsing the 15 MB data and putting in to the string.

    str = new String(ch, start, length.trim());
    its giving me outofmemory exception.

    becase i am saving it in string.

    please help me how can i do this any code snippet will be helpful to me.

    Thanks in Advance.

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Rep Power


    That code snippet doesn't mean a great deal.
    How does that fit in with the rest of your code?

Similar Threads

  1. Replies: 7
    Last Post: 01-30-2009, 07:40 AM
  2. Replies: 16
    Last Post: 08-05-2008, 12:34 PM
  3. Initializing SAXParser
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-14-2007, 07:33 PM
  4. JasperReport OutOfMemory
    By gustavofranco in forum Advanced Java
    Replies: 0
    Last Post: 07-26-2007, 10:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts