- This topic has 3 replies, 2 voices, and was last updated 17 years, 7 months ago by Riyad Kalla.
-
AuthorPosts
-
JayLee229MemberHi There,
I am evaluating UML features of the MyEclipse 5.1.1 GA to do reverse engineering on my Java/Tomcat Project. I was stuck on several problems with my work for the past week:
1) Although I set vmargs to xmx1024M when I launch MyEclipse, the application is not able to convert a whole module into a single UMR file – it is frozen until the application is shut down. Frequently, the application complains about having less then 5% of 475M memory is left, and asking to restart MyEclipse. My PC has Intel Duo2 Core/1024×2 RAM, WinXP+SP2. The system is virus-free according to the virus scan under the most recent virus-definition. I cannot see the PC is not powerful enough for the job.
2) When I try to make a sequence diagram from the model converted, there is no way for me to select a class from the model, and as a consequences of it, I am not able to select a method from the object of the class in the sequence diagram. I was only able to manually enter the class names and method signatures in the sequence diagram, which does not make any use of the model converted. If it is a designed behaviour, why does it convert source code into a UML model?
My question is: Is this how the MyEclipse UML supposed to work? Or is there any thing I have missed? It took a week for me to attempt to figure out these issues and I am looking forward to your quick response.
Thank you,
Jay
Riyad KallaMember1) Although I set vmargs to xmx1024M when I launch MyEclipse, the application is not able to convert a whole module into a single UMR file – it is frozen until the application is shut down. Frequently, the application complains about having less then 5% of 475M memory is left, and asking to restart MyEclipse. My PC has Intel Duo2 Core/1024×2 RAM, WinXP+SP2. The system is virus-free according to the virus scan under the most recent virus-definition. I cannot see the PC is not powerful enough for the job.
Jay, I believe the issue might be the permGen space, not the heapSpace. Please see our suggested VM arguments here:
http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10087.htmlAlso can you explain what you mean by “not able to convert a whole module into a single UMR”… how many source files are you trying to reverse engineer?
2) When I try to make a sequence diagram from the model converted, there is no way for me to select a class from the model, and as a consequences of it, I am not able to select a method from the object of the class in the sequence diagram. I was only able to manually enter the class names and method signatures in the sequence diagram, which does not make any use of the model converted. If it is a designed behaviour, why does it convert source code into a UML model?
I don’t quite follow. You mean after reverse-engineering your classes, your model is empty? Or you mean when you create a new sequence diagram, the model isn’t show you the classes to DnD them? Can you post a screenshot of what you are seeing or PM it to me with a link to this thread for reference?
JayLee229MemberHi There,
1) I tried to launch MyEclipse with the recommended vmargs. It failed to re-eng one of my packages (String index out of range error). I closed the UMR and it ends up with an error message:
MyEclipse has detected that less than 5% of the 472MB of Tenured Gen (Heap memory) space remains. ……
I tried to reopen the UMR file. The MyEclipse says “Out of memory” and shut down.2) When I have done my re-eng work (I did it by keeping converted model in various separate UMR files), I want to make sequence diagrams based on the model. Because of the memory problem mentioned above, I cannot put all classes in a single UMR file. I tried to work on a small UMR file containing three classes. When I make a new Classifier Role (an object), I want to name it as an instance of a class in the model. In its Properties, I can type its name in the Name text filed. However, where is the class list in the model? How can I specify this object as an instance of a class in the model by select the class instead of typing the class name? I could not find the answer.
Thank you for your quick response,
Jay
Riyad KallaMemberJay,
How many classes are you trying to reverse engineer? You should be able to reverse engineer 100s if not 1000s of classes without memory issues.Is this project something you can share with me?
-
AuthorPosts