Convert Audio Online – media.io

The blog of media.io 
« Back to blog

media.io update #2

I haven't done anything big to media.io in the last two days – I’ve been busy setting up two SSDs.

One thing I'm doing right now is tracing the memory usage of media.io. What I found surprising is how many programs print awful amounts of debug information. If you simply read all lines using something like BufferedReader, a lot of temporary Strings will be generated.

One thing I do to keep memory usage down is to ignore stderr. Also, I only read into a byte array from stderr to reduce object allocations.

It still takes a lot of tweaks to build something that will scale well to many users. :-)

Comments (0)

Leave a comment...

 
Got an account with one of these? Login here, or just enter your comment below.
Posterous-login    twitter