WWW Buffer allocation failed

Hi,

I’m getting this exception when trying to download a video. Is there a way around this? Worth mentioning my video is just under a 1GB. My code is:

WWW www = new WWW(strURL);

while (!www.isDone)
{
    Debug.LogError("Progress: " + www.progress);
    progress.text = "Progress: " + www.progress.ToString("P");
    yield return 0;
}

I get the following from my device log:

09-15 11:39:50.235 9943-10033/com.opposable.application E/Unity﹕ Buffer allocation failed; Unable to allocate 959505126 bytes download buffer
(Filename: ./PlatformDependent/AndroidPlayer/Source/AndroidWWW.cpp Line: 198)

Any help would be great.

Thanks,

I’m going to go with trying to allocation 900MB to a buffer is a little too much…

Yeah that’s my suspicion. Any alternative methods you know of to download the file?