posted by julien at Apr 26, 2010 5:21 PM
Quote
Dear Nuno, dear Igniacio,You outline a "recent problem" (actually a old one but more frequent with the recent versions), that also depends on the OS/JVM. I have no general solution for the moment. But I will try to give some partial answers:1) I have observed that this problem appears more frequently with the recent (1.6) JVM, when the memory stack limit is reached. Surprisingly, when the JVM has no more memory free, it does not always crash as before but induce deadlock and may freeze the Swing layer. When this happens we did not found any solution yet. And generally, this appears at the end of the simulation, where we have an other load of memory cost.But you may avoid this by:
- Increase your memory stack before the run, increase the -Xmx value through the JVM_XMX flag in the launching scripts (e.g export JVM_XMX=3000m in spis-ui.properties for SPIS 4.2+).
- Regularly force the garbage collector, using the jconsole tool of your JVM. Launch it is another shell. Connect to the SPIS job (Jython). Go to the memory index and click on "Perform GC". This may reduce the RAM footprint. At that time, extract the data and save the project.
posted by Ignacio Rocca at Mar 26, 2010 3:24 AM
Quote
Hi Nuno,
I understand that there is no way to export data when SPIS freezes, lke you says you have the currents and the potentials on the temporary folder, for other hand I recomend to you that before to run the simulation, exactly when export from UI to NUM, save the project.
Best Regards
Ignacio
posted by Nuno Loureiro at Mar 16, 2010 11:52 AM
Quote
Hi all,I ran I simulation during 1 day, but after it was finished SPIS buttons froze and I could not extract data. I have two questions regarding this issue:1- Is there a way of exporting the data with Jyconsole when something like this happens?
I have tried the exportDataField.py but it seems not to be working. I always get this message: AttributeError: 'NoneType' object has no attribute 'getNodeList'2- Even if I did not save the project, I still have the data in the temporary file created by SPIS (for example I have the files potentials.txt and emittedCurrent.txt ).
Is there a way to import these values again to SPIS or simply use them with Paraview or Cassandra?Thanks,
Nuno