Frequently Asked Questions   Sections

The Gentleware FAQ is a comprehensive list of questions regarding Poseidon for UML. At this time, third-party plug-ins and products are not covered in this FAQ but we plan to add them in the future. Further information is available from the Poseidon documentation or you can post to our forum.

 

Submitting a Question

Please feel free to submit questions regarding any Gentleware product, including the plug-ins and partner products, to info@gentleware.com.

 

Viewing the FAQ

Select a topic from the list at right. The subtree for your selection will open below.

FAQ Section: Performance Tuning
  1. How can I increase the amount of memory available to Poseidon?

    Sometimes the Java VM runs out of memory, when applications are using a lot of objects. The amount of memory available to the VM is set by means of two command line parameters defining the initial and the maximum amount of memory the JVM can use for its object heap. Both parameters default to 16 MByte.

    Memory consuming tasks like reverse engineering and UMLDoc need a lot more memory. Otherwise a java.lang.OutOfMemoryException will occur. Therefore the maximum amount of memory for the heap is set to 196 MByte in the Poseidon start script. But even this can be insufficient in certain cases (e.g., large diagram graphics in UMLDoc).
    If more memory is needed, you can change the maximum allocated memory as follows:
    • If you are using the installer

      Edit the lax.nl.java.option.additional line in the Poseidon_For_UML.lax file. To increase the memory available to Poseidon, change the parameter "-Xmx196m" to "-Xmx400m".

    • If you are using the start script (startPoseidon.bat or startPoseidon.sh)
      • For Windows Systems (File: startPoseidon.bat):

      • Edit the last line of the start script (beginning with the java call). To increase the memory available to Poseidon, change the parameter "-Xmx196m" to "-Xmx400m".

        Example:
        java -Xmx144m -Dargo.compiler=javac -Dposeidon.user.dir.DE=%POSEIDONDE_HOME% -Dposeidon.user.dir.SE=%POSEIDONSE_HOME% -Dsun.java2d.nodraw=true com.gentleware.poseidon.Poseidon

      • For UNIX Systems, change the file poseidon.sh:

      • Edit the section 'addJavaArgs'. To increase the memory available to Poseidon, change the line "pushArg -Xmx255m" to "pushArg -Xmx400m".

        Example:
        addJavaArgs() {
        pushArg -Xms64m
        pushArg -Xmx512m
        PLATFORM_JAVA_ARGS=
        if [[ ! (-z "${PLATFORM_JAVA_ARGS}")]] ; then
        pushArg "${PLATFORM_JAVA_ARGS}"
        fi
        }
    Please note: The maximum amount of memory should never be set to more than your physical memory.
  2. Why should I use the latest JDK 1.5?
  3. Why are big diagrams so much slower than small ones?
  4. Loading, Saving and Importing takes a lot of time
  5. How can I make Poseidon run faster?
  6. The startup of poseidon takes to much time (minutes)

© 2000 - 2010 Gentleware AG
         
                        
 support  faq  faq poseidon for uml