I’m not sure if this is a postgres issue or not, but I’m
When /files/podcast.mp3 is 32 megabytes and I run the test,
memory spikes hugely. My laptop quickly began swapping out
memory and became unusable. top showed the memory usage of
the Ruby process to be about 400MB and growing.
Is there something stupid that I’m doing?
I don’t think I would stick mp3 files directly into a database,
regardless of vendor. I think I’d just let the mp3 files sit on
the filesystem somewhere, and have an entry in the database that
points to the appropriate file. Use controller methods for
uploading and downloading.
Just my .02.
This communication is the property of Qwest and may contain confidential
privileged information. Unauthorized use of this communication is
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and
all copies of the communication and any attachments.