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








Hi! ... As if it really was assigned the report that I am showing?
as linking these additional parameters to the shortcut created?
Right on the icon of the access, properties, tab
shortcut add the parameters in the Destination box sets