DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
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



Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links