• Eclipse, Solutions 29/11/2008

    Actually, this applies to any Java application, but here I am only going to take the case study of the eclipse.

    We often eclipse closes unexpectedly without error message or anything. Or sometimes, we are fortunate to receive at least the error message: Out of memory (if we receive the error, we can surely see it in the file. Log). "That's what happened? It's simple, the Java virtual machine allocates memory determines a maximum amount for certain internal structures, and this being insufficient, has caused an error and closed the application.

    The solution to this problem is quite simple: you must tell the JRE to give more memory to your application. And how we do this? The most practical way I think is to make a shortcut, in which the application is linked with a number of additional parameters. These parameters are vmargs, PermSize and MaxPermSize. Here I leave an example to the values that I use, I have resolved the problem:

    "C: \ eclipse \ eclipse.exe"-vmargs-Xmx512m-XX: PermSize = 64M-XX: MaxPermSize = 128M

    Related Posts with Thumbnails
    Share this article:
    • Digg
    • Sphinn
    • del.icio.us
    • Facebook
    • Mixx
    • Google Bookmarks
    • BarraPunto
    • Meneame
    • Bitacoras.com
    • Technorati
    • Blogosphere News
    • Live
    • Yahoo! Bookmarks

    Saturday, November 29th, 2008

  • 3 Responses

    WP_Modern_Notepad

    Leave a Comment

    Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

Translator

Our visitors

  • 292,835 Visitors

Visitors

    free counters

Community


Advertisement


**************************************** ******** PAGE RANK **************************************-->