Home » Modeling » Papyrus » eclipse.ini memory settings for large papyrus projects
|
Re: eclipse.ini memory settings for large papyrus projects [message #1269853 is a reply to message #1269840] |
Wed, 12 March 2014 08:57 |
Camille Letavernier Messages: 952 Registered: February 2011 |
Senior Member |
|
|
Hi Tomas,
It's difficult to say, especially since Papyrus still has a few memory leaks (Which are especially annoying when you open/close/open/close a lot of models; they shouldn't be a problem when you always work on the same editors).
Papyrus developers *need* to increase their PermGen Space to 350 or more, because debug mode requires more PermGen space. However, for standard usage of Papyrus, 256 MB is sufficient for PermGen (But as Papyrus grows continuously, this might not be sufficient in the future).
We don't have any memory usage benchmark, so we can't recommend any memory setup. I typically use 1024 MB of heap space and 256 MB of PermGen. And from the Heap Status in Eclipse, I can see that Eclipse/Papyrus is using between 200 and 800 MB (800 during some specific operations on relatively big models, then back to 300-350 MB when the GC runs. And 200 MB for really simple models when you're not doing anything). It's always a good idea to allocate a little bit more memory than actually required.
Also, what really requires memory is the number of opened editors/nested editors ("Tabs" in a Papyrus editor). Closing them may help, until we provide a lazy editor loading (And unload editors which are not used anymore)
You can monitor the memory usage from the Eclipse Preferences: General > check Show heap status.
Regards,
Camille
Camille Letavernier
|
|
|
Re: eclipse.ini memory settings for large papyrus projects [message #1269861 is a reply to message #1269840] |
Wed, 12 March 2014 09:08 |
Furkan Eke Messages: 32 Registered: June 2012 |
Member |
|
|
Hello,
this problem we had as well. Increasing the memory allocation to Eclipse can help you, but beware of interent restrictions in your system. If you are using a 32bit
system, maximum memory you can give Eclipse is restricted. If this is the case, you might think first of migrating to a 64bit system.
If you are using a 64bit system already and have the issues even after increasing the memory for Eclipse, then you need something like CDO. I can not comment on this, because my knowledge is restricted to the problem description CDO intents to solve.
CDO should have worked for papyrus as several other features had to, but they dont and there is no help, no documentation.
I wish you good luck, if you can manage to use CDO for Papyrus to improve performance please share this, i need it as well.
Kind Regards,
Furkan
|
|
|
Re: eclipse.ini memory settings for large papyrus projects [message #1269901 is a reply to message #1269861] |
Wed, 12 March 2014 09:54 |
Tomas Sandkvist Messages: 149 Registered: October 2013 |
Senior Member |
|
|
Hi Furkan!
Well, I currently depend heavily on submodels, which has some usage issues (for instance, if I migrate them into the main model, I can't migrate submodels that in turn is referenced in other submodels without breaking the references), but it does work.
CDO, what kind of benefit would that give? A more "dynamic" model handling in terms of loading?
I am using a repository (Git, at first I tried subversion but had some major issues with destruction of models), but the memory load comes mainly from how "much" of the model is loaded I guess.
A second issue is that where I am working (ABB) we're simply not allowed setting up servers, heck we're not even allowed to install what ever software we want/need on our computers, so I'm pretty restricted. The Eclipse environment, being a Java app is excellent because it does not need any installation, thus the IT department has nothing to worry about...
With that said, I don't know so much yet about CDO, I skipped CDO because I got the impression I needed some major server stuff tom use it. I will read up though...
Regards,
Tomas
|
|
|
Re: eclipse.ini memory settings for large papyrus projects [message #1269934 is a reply to message #1269901] |
Wed, 12 March 2014 10:25 |
Camille Letavernier Messages: 952 Registered: February 2011 |
Senior Member |
|
|
Hi Tomas,
I think that CDO will not help you much for performances, because in Papyrus, queries are implemented in Java anyway (And don't benefit from the Database index/etc). Moreover, once a resource is loaded in Papyrus, it is never unloaded. So, no gain in memory either.
Regarding the server installation, CDO can use file-based databases (i.e. a file in your workspace). You don't necessarily need any specific installation.
Regards,
Camille
Camille Letavernier
|
|
|
Goto Forum:
Current Time: Thu Sep 19 10:22:22 GMT 2024
Powered by FUDForum. Page generated in 0.03515 seconds
|