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

Pp 1 Reputation point
2021-02-19T15:36:21.103+00:00

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.

70162-xboxstorage1.jpg
70086-xboxstorage2.jpg

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,

Developer technologies | Universal Windows Platform (UWP)
Developer technologies | C#
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.