facebook

Memory Warning in combination with MagicDraw

  1. MyEclipse IDE
  2.  > 
  3. WebSphere Development
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #296702 Reply

    sehlerding83
    Member

    Hi,

    I am using MyEclipse Blue 7.0 in combination with MagicDraw 16. From time to time I get a warning that is called “Available Memory Is Low”. The whole text says:
    “myEclipse has detected that less than 5% of the 32 MB Code Cache (non-heap memore) space remains. It is strongly recommended that you exit and restart MyEclipse with new virtual machine memory parameters to increase this memory. Failure to do so can result in data loss. The recommended Eclipse memory parameters are: eclipse.exe -vmargs -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M”.

    So I had a look at my parameters and they are ok as you can see from my configruation details. What can I do to solve this problem? Until now this was just an info with no negative results..but who knows..

    greets, sehlerding

    <!– The information you posted was not helpful. Can you paste the information available under MyEclipse > Installation Summary > Installation Details–>

    #296712 Reply

    Loyal Water
    Member

    Can you go to MyEclipse > Installation Summary > Installation Details here for me. Also, do you have these arguments in the ini file?

    #296848 Reply

    sehlerding83
    Member

    Hi,

    yes these arguments are in the ini file too. Afterwards the wanted details.

    Greets,
    sehlerding

    *** Date:
    Freitag, 27. März 2009 8.18 Uhr CET

    ** System properties:
    OS=Windows2003
    OS version=5.2.0
    Java version=1.5.0_17

    *** MyEclipse details:
    MyEclipse Blue Edition
    Version: 7.0 Blue
    Build id: 7.0-Blue-20081201

    *** Eclipse details:
    MyEclipse Blue Edition

    Version: 7.0 Blue
    Build id: 7.0-Blue-20081201

    Eclipse Platform

    Version: 3.4.1.r341_v20080731-9I96EiDElYevwz-p1bP5z-NlAaP7vtX6Utotqsu
    Build id: M20080911-1700

    Eclipse Java Development Tools

    Version: 3.4.1.r341_v20080709-0800-7o7tEAfEF_U5qyUgrb2HAp539P97
    Build id: M20080709-0800

    Eclipse Graphical Editing Framework GEF

    Version: 3.4.1.v20080806-67718083A56B4H2A3213573
    Build id: 200809101400

    Eclipse RCP

    Version: 3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341
    Build id: M20080703-0800

    Eclipse Plug-in Development Environment

    Version: 3.4.1.r341_v20080731-7T7U0E9mlRIuGUYviF_VP
    Build id: M20080703-0800

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    E:\iis\APPL\MyEclipseBlue\myeclipse-blue.exe
    -name
    Myeclipse-blue
    –launcher.library
    E:\iis\APPL\MyEclipseBlue\Genuitec\Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
    -startup
    E:\iis\APPL\MyEclipseBlue\Genuitec\Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
    -configuration
    Z:\config.x64\anwendungsdaten\.myEclipseBlue\MYECLIPSEBLUE_7_0_CCC_01_configuration
    -vm
    C:\Programme (x86)\Java\jre1.5.0_17\bin\client\jvm.dll

    #297118 Reply

    Loyal Water
    Member

    You can increase his perm-gen and heap space to avoid this — it’s likely that both MagicDraw and MyEclipse together just use up a lot of memory, so you can increase the memory and should be OK. The memory can be increased in the ini file. These arguments need to be increased:-

    -XX:PermSize=64m
    -XX:MaxPermSize=128m

    #297323 Reply

    sehlerding83
    Member

    I increased these arguments but that doesn’t take effect.
    So Is there another possiblity to decrease the usage of memory? How can MyEclipse be configured to run a little “faster”?

    #297357 Reply

    Loyal Water
    Member

    You can go to Window > Prefs > General > Capabilities > Advanced menu and uncheck the bits that you dont use. That should speed up things a little bit.

    Also, please adjust the max perm size argument up to 256mb, that’s the eclipse default for 3.4

    #297704 Reply

    sehlerding83
    Member

    Hi,

    after disabling some features the performance is much better than before. Thanks for your help.

    #297725 Reply

    Loyal Water
    Member

    Your welcome.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Memory Warning in combination with MagicDraw

You must be logged in to post in the forum log in