Skip to main content



      Home
Home » Eclipse Projects » Eclipse Titan » Free memory is running low(the outline windows problems)
Free memory is running low [message #1803650] Wed, 06 March 2019 03:53 Go to next message
Eclipse UserFriend
When I saved the project, a low memory warning appeared, and then my outline window could not display the function and structure type I defined. How can I solve this problem?
Re: Free memory is running low [message #1803653 is a reply to message #1803650] Wed, 06 March 2019 04:26 Go to previous message
Eclipse UserFriend
Follow the install guide of the Eclipse Titan ( see https://www.eclipse.org/downloads/download.php?file=/titan/Eclipse_installationguide.pdf ), especially chapter 5.2:

5.2. Configuring Java
You might need to modify your eclipse.ini file (usually located in the same directory as your eclipse executable.)
It is suggested to have at least 1GB and recommended 2 GB free memory per 1 million TTCN-3/ASN.1 source code lines (but it strongly depends on the code complexity). In Java it is controlled via the Xmx option.

For example, if Java 1.6 or 1.7 is applied and a project of 2 million TTCN-3 code lines is edited, the suggested settings in eclipse.ini are these:
-vmargs
-XX:MaxPermSize=2048M
-Dosgi.requiredJavaVersion=1.7
-Xms1024M
-Xmx4g


If Java 1.8 is used then MaxPermSize is ignored, its support is removed. Use these settings instead:
-vmargs
-Dosgi.requiredJavaVersion=1.8
-XX:+UseG1GC
-Xms1024M
-Xmx4g


NOTE: If you cannot edit the eclipse.ini file, you can start eclipse with flags. For example
eclipse  -vmargs  -Xmx4g  

modifies the maximum memory allocation for the virtual machine.

Hopefully this helps.
Best regards
Jeno
Previous Topic:Function parameter
Next Topic:Schema-less decoding of JSON in TTCN-3/Titan
Goto Forum:
  


Current Time: Mon Jul 07 04:39:09 EDT 2025

Powered by FUDForum. Page generated in 0.05018 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top