How to release memory? (D2.0.30)

Daniel Keep daniel.keep.lists at gmail.com
Sat Jul 4 06:03:51 PDT 2009



AxelS wrote:
> @Ary Borenszweig: Good idea but I can't pipe data to a HTTP-server located somewhere in the internet...

I believe he means to read the file in chunks, sending them across the
network as you get them.

> OK, I tried it with C's malloc and free - but everytime I access my array, D puts the memory into its heap...I'm getting crazy because of this!

D doesn't copy data like that; something else must be going on.


More information about the Digitalmars-d-learn mailing list