I have had some users complain that it takes too long to load the Marvinsketch window when they click on Add Molecule. Is there any way to speed up the performance or do you have any recommended settings for Java/Excel/Windows/etc. that we should use?
which editor do you use for data editing? Basically you have 3 options in Jchem4XL:
- Marvin Applet - this is no longer a valid editor for Jchm4xl since Sun made some changes in cache handling and from that point this tool is not so reliable anymore, this is based on java. And we kept it for backward compatibility reasons.
- Marvin OLE - at the moment this is also a java based editor but requires Marvin Sketch installed on your computer. This tool is cached by Jchem4XL, so maybe the first start is slow but afterwards it is pretty fast (java vm needs to be loaded into the memory first), you can bravely use that (JAVA_HOME variable recommended to be among environment variable pointing to the actual jre folder).
- Marvin .NET - now this is the recommended editor tool for Jchem4xl, we are improving its quality progrssively, in the next release 1.1.3 it produces a quite good shape eliminating flashing. In 1.1.2 it was very fast for the second data editing, it is based on Marvin .NET library.
I have the Marvin. net option set, but I will have to check with others if they different options set and switch them to Marvin .net if needed. We will look forward to improved loading speed in 1.1.3.
OK, thanks so it should be working fast for the second add/edit? Your user complaining about the first run or all cases when they launch it?
Yes, the second edit/add seems much faster than the first.
we also have longer term plans for enchancing the startup speed of the first edit (ar any other operations) by:
- eliminating the dlls not needed from the converted .NET code, so less DLLs
- split larger DLLs
- eliminated .NET code not needed from the dll libraries
- complining certain dlls to native code
- loading .NET assemblies in the background
Applet is no longer supperted in thick clients like JChem Excel.
Instead marvin .NET is uch faster and loaded on a separate thread.
Oter editors like ChemDraw is also supported for test.