Hi all,

I've just been playing with the lazy creation patch:

cdk> ant -Ddo.lazy.creation=yes -f jmol.xml

(which actually is the default now...)

For those who don't remember, the lazy creation patch was designed to
make the ChemObject class (on which CDK's and Jmol's Atom class are based)
use less memory, by allocating arrays when needing, and not be default when
the class is instantiated...

Then did some performance testing, and the results are not promising...
(don't understand why). I've been using Jmol-b6 with hemoglobin.pdb.
There seems to be some memory leakage, therefor the chain saw memory
usage between two limits.

                     memory usage        frame rendering speed

Jmol                 16-18 MB            about 128 ms
Jmol with patch      17-19 MB            about 128 ms

So the good news is that rendering speed does not suffer...
But, why does the memory usage go up ??

I'll do some more testing, but please send in additional reports on the
effectiveness of the patch... It can be applied to CDK's build.xml like:

ant -Ddo.lazy.creation=yes clean test

Egon

PS, you can try this too:

ant -Ddo.lazy.creation=yes info


-- 
[EMAIL PROTECTED]
PhD on Molecular Representation in Chemometrics
Nijmegen University
http://www.cac.sci.kun.nl/people/egonw/
GPG: 1024D/D6336BA6




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to