Results 1 to 4 of 4
  1. #1
    lenah is offline Member
    Join Date
    Dec 2008
    Posts
    4
    Rep Power
    0

    Default Memory-Mapped File-(MappedByteBuffer )

    i have very little understanding of MappedByteBuffer.

    Could u pls anyone tell when and how exactly should concept be used? How far it is in use in the Market.

  2. #2
    neilcoffey is offline Senior Member
    Join Date
    Nov 2008
    Posts
    286
    Rep Power
    7

    Default

    Typical uses are essentially when you continually need to access a file "as though it was memory", for example in implementing a database. Unfortunately, Hotspot 1.4 on Windows had a serious bug that a mapped section of a file (and direct byte buffers in general) ssentially never got unmapped for the duration of the process, which made them essentailly unworkable. Not just sure if that's been fixed in later versions, but one would hope so.

  3. #3
    Krishnakanth is offline Member
    Join Date
    Dec 2008
    Posts
    1
    Rep Power
    0

    Default

    Hi all,
    I have joined newly in the community. I have excited how the members in the community are solving the problems. Iam facing the problem continuosly Jasper Exception.
    JASPER Exception thrown while generating tooling pdf:net.sf.jasperreports.engine.JRException: java.util.ConcurrentModificationException: concurrent access to HashMap attempted by Thread
    Can anyone help me out?

  4. #4
    Steve11235's Avatar
    Steve11235 is offline Senior Member
    Join Date
    Dec 2008
    Posts
    1,046
    Rep Power
    8

    Default

    I believe you are using an OSS tool that is not handling an internal exception. I suggest going to the tool maker's Web site and looking in their bug tracker. They may have a work-around, or you may be able to report the problem, so they can fix it.

Similar Threads

  1. Replies: 2
    Last Post: 08-21-2008, 08:33 PM
  2. Bean data not mapped to database
    By kriskras in forum Enterprise JavaBeans (EJB)
    Replies: 1
    Last Post: 07-19-2008, 10:13 AM
  3. Low memory error
    By rlhs76 in forum New To Java
    Replies: 2
    Last Post: 02-08-2008, 11:25 PM
  4. Out of memory
    By mew in forum New To Java
    Replies: 1
    Last Post: 01-20-2008, 09:55 AM
  5. Memory
    By mew in forum CLDC and MIDP
    Replies: 0
    Last Post: 12-28-2007, 12:02 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
  •