Hi out there,
I'm using the Java API to connect to the Enterprise Architect's COM automation interface using the files shipped with EA v6.5. Technically, that works fine.

But accessing the EA is quite slow. If I try to read only 3 packages, 15 classes and some tagged values, it takes almost half a minute. Actually, I want to read a model with 1000+ classes which takes about 15 minutes

Is there any way speedup the access?
It seems even worse if I create new elements. In a small test I created 100 packages each containing 100 classes. This took almost 10min..

My goal is to read the entire model (1000+ classes) in java, modify it and write it back into EA. Unfortunately, after 8h an out of memory error occured in EA -> I checked the memomry usage and EA was using 1.5 GB !!

The readme of the Java API says:
"Native COM classes and memory allocated for these is not seen by the Java garbage collector, so you should explicitly invoke a garbage collection from time to time when working with many objects using the Java API."This is what I did, but obviously it doesn't affect the EA?!
Any help appreciated!
Patrick