openworm / org.geppetto.recording

Python project allowing to create a recording for Geppetto
http://www.geppetto.org/
Other
5 stars 0 forks source link

Write the recording to file while it is created #21

Open jrieke opened 10 years ago

jrieke commented 10 years ago

Currently, all the values are kept in memory until you call the RecordingCreator.create method. This can cause memory errors for larger simulations (sometimes already a few hundred milliseconds are enough). Possibly use resizable datasets and write every few thousand values, or if you except a MemoryError. This is rather high priority, particularly as it limit recording NEURON and Brian models which need 32 bit versions of Python.