I was developing a seekable implementation of AES and when I ran it; a high pitched noise started coming from inside my computer.
I know it was NOT the hard drive because there was hardly any hard disk activity at all, and I had recently replaced my hard drive. This seems to happen when I memcpy a huge array of bytes from one location in RAM to another, then delete it, and refill the buffer with data from a MemoryStream.
It's such a high pitch that some people can't hear the noise. It's not coming from my speaker, and I have no modem or motherboard speaker in my computer that could be making the noise. What could be causing this noise, and why would it only happen when running huge memcpy operations?