|
Re: [CDO] Memory usage for complete model access [message #1774455 is a reply to message #1773896] |
Sun, 15 October 2017 05:54 |
|
Hi Robert,
Sorry for the late reply. There was a problem with the RSS feed of the forum and your question wasn't shown earlier.
By default caching is done on both server and client side. The server caches CDORevisions and the client caches CDORevisions and CDOObjects. By default CDORevisions and CDOObjects are cached softly. See AbstractCDORevisionCache.createReference(CDORevision) and AbstractCDOView.initObjectsMap(ReferenceType). In both cases cached memory can be reused for other data as soon as your application stops using (referencing) them.
You say you're using an "integrated" server. That could mean that you're duplicating some caches (namely the revision caches and branch trees) for server and client. The new EmbeddedRepository is more optimized for this use case. See org.eclipse.emf.cdo.examples.embedded.EmbeddedRepositoryExample.
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Powered by
FUDForum. Page generated in 0.01535 seconds