[Teneo/CDO] Managing huge models / unloading parts of models [message #614060] |
Wed, 23 January 2008 11:40 |
Stefan Winkler Messages: 307 Registered: July 2009 Location: Germany |
Senior Member |
|
|
Hi all,
I am working on a project which will have to deal with quite large (both
broad and deep) models. The models themselves are only read or created
(out of other models) but not modified themselves.
Regarding the creation task: this will be something like a custom model
transformation: an algorithm will read one model and produce another.
Problem is: I expect the models to be too big to fit into memory, so I
need a solution which allows only parts of models to be loaded and these
parts to be unloaded, when they are not being used anymore. In terms of
EMF, I want only parts of Resources to be loaded.
Ed Merks pointed out that CDO or Teneo could help here as they use lazy
loading strategies. So far I had a look into Teneo/Hibernate and I like
the interface so far. But: While I understand that Teneo supports lazy
loading of EMF Objects, does Teneo (or Hibernate behind this) have
support to unload objects that are no longer needed?
E.g.
A
|
+--- B
|
+---- C
|
+----- D
When I start at A (B,C,D are proxies, because policy says so), I access
B,C and D. Is it possible to unload C and D and make C Proxy again so
that C and D get garbage collected?
If Teneo does not support this, does CDO?
Thanks in advance!
Cheers,
Stefan
|
|
|
Powered by
FUDForum. Page generated in 0.02620 seconds