error


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: error

  1. #1
    alex Guest

    error


    I'm getting an error like this "java.lang.outOfMemory". can somebody tell
    me what this mean?


    thanks
    alex

  2. #2
    Paul Clapham Guest

    Re: error

    It means what it says. You have created so many objects that you have used
    up all the memory available.

    PC2

    "alex" <cad1374@yahoo.com> wrote in message news:3b17943a$1@news.devx.com...
    >
    > I'm getting an error like this "java.lang.outOfMemory". can somebody tell
    > me what this mean?
    >
    >
    > thanks
    > alex




  3. #3
    alex Guest

    Re: error


    How can I fixed this problem?

    thanks

  4. #4
    Nikhil Guest

    Re: error


    Two options:
    1) review your source code to use less nos. of objects( remove unnecessary
    objects, be careful about strings etc.)

    2) when you run java, use the argument -ms <start up memory size in bytes>
    -mx < max memory size in bytes>
    cheers,
    Nikhil
    "alex" <cad1374@yahoo.com> wrote:
    >
    >How can I fixed this problem?
    >
    >thanks



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center