How can I increase memory in WebRatio?

From WebRatio WebML Wiki

Jump to: navigation, search


It can happen that in the model generation lifecycle you get an OutOfMemory error. To solve this problem you have to change the memory options in the WebRatio.ini file. This file is placed in the WebRatio installation directory and it looks like the following

  -vmargs
  -Xms40m
  -Xmx384m
  -XX:PermSize=64m
  -XX:MaxPermSize=128m

If you see java.lang.OutOfMemoryError: PermGen space error, you need to increase the permanent generation space available to WebRatio. PermGen is the permanent generation of objects in the VM (Class names, internalized strings, objects that will never get garbage-collected). To increase this memory you have to change the variable MaxPermSize at the line 5 of the WebRatio.ini file using a higher value (e.g 192m). If you see an OutOfMemoryError without the PermGen indication, then you have to increase the value of the variable mx at the line 3 of the WebRatio.ini file.


Related articles:
Category Difficulty Refers
Adding the Start Tomcat plugin Customizing the Environment Beginner WebRatio
CVS Common Problems Team Work Intermediate WebRatio
CVS Compare Overview Team Work Intermediate WebRatio
Can I download new plugins for Eclipse from WebRatio?How? Customizing the Environment Beginner WebRatio
How can I increase memory in WebRatio? Customizing the Environment Beginner WebRatio
… further results












Did you find this article useful? Please rate it!

Rating: 3.3/5 (4 votes cast)

Personal tools