UWP XBOX one : There is not enough space on the disk

Pp 1 Reputation point

I am working on UWP Xbox One S with Kinect. I get frames and write them to local disk.

After writing some some frames, it starts giving me the following exception:

Exception thrown: 'System.Exception' in System.Private.CoreLib.dll
There is not enough space on the disk. (Excep_FromHResult 0x80070070)

However, the disk seems to have free space as shown in the image below.


The same UWP program, when run on the PC generates frames without any disk space exception. It creates about 3.5 to4 GB data when I run it on PC.

I have also increased the developer storage on XBOX (as shown in image attached) but nothing seems to improve.

I am accessing local folder to store the data.

StorageFolder storageFolder = Windows.Storage.ApplicationData.Current.LocalFolder;
await FileIO.WriteBytesAsync(sampleFile, objframe);

Can you someone please help me with this?

Any help would be appreciated.

Thank you,

Universal Windows Platform (UWP)
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,521 questions
{count} votes