Comment 2 for bug 672071

Revision history for this message
Mathieu Bastian (mathieu.bastian) wrote :

The new StAX-based siralization is now implemented in rev 2108. All classes implementing WorkspacePersistenceProvider have been rewritten using StAX instead of DOM. StAX is much more memory efficient and scales well.

More tests need to be done, to ensure no bugs and compatibility.

I did tiny benchmark, with a 20K nodes, 50K edges network:

Open
-------
DOM: 10 seconds using 1.37 GB memory
StAX: 6 seconds using 399 MB memory

Save
------
DOM: 12 seconds using 900 MB memory
StAX: 37 seconds using 437 MB memory