Marc, indeed, loading images from files in ruby dicom works great. For the
project I presented at SIIM, I loaded the DICOM files into CouchDB using the '
parallel' gem, which was truly a delight to use (highly reccomended, filled up all 8 cores on my machine, blazing fast). Ruby DICOM behaves beautifully during the load, and memory never climbs more than the usual ruby process ( about 100mb. Granted, ruby is
not the most resource-friendly language).
However, your approach and mine may help point away from a problem involving the basic DICOM processing in ruby-dicom, and more towards the networking code in the DServer. As Chris mentioned, a threaded aproach to networking like Celluloid::IO may take care of this and provide additional performance.
I will try to study a little bit of ruby parallelized networking on my (limited) spare time so I can hopefully give Chris a hand when he decides to take on that rewrite.
Cheers,
Simon