FileIOException: Failed to allocate 433198 bytes for file

Yazan Tahhan 36 Reputation points
2020-12-26T19:39:15.38+00:00

Hi,

I'm using the Azure Batch Rendering and trying to create a new task but it fails on the preparation phase for some reason, here is whats is the response of the Preparation And Release Task Status API:

{  
  "odata.metadata": "https://ID.westus2.batch.azure.com/$metadata#jobpreparationandreleasetaskstatuslist",  
  "value": [{  
    "poolId": "1609001654425",  
    "nodeId": "tvmps_eec60590d72f5cd51ac21d495c1c81690be6457d...",  
    "nodeUrl": "https://ID.westus2.batch.azure.com/pools/1609001654425/nodes/tvmps_eec60590d72f5cd51ac21d495c1c81690be6457d...",  
    "jobPreparationTaskExecutionInfo": {  
      "startTime": "2020-12-26T18:53:30.1065Z",  
      "endTime": "2020-12-26T18:53:41.675057Z",  
      "taskRootDirectory": "workitems\\1609008793542\\job-1\\jobpreparation",  
      "taskRootDirectoryUrl": "https://ID.westus2.batch.azure.com/pools/1609001654425/nodes/tvmps_eec60590d72f5cd51ac21d495c1c81690be6457d.../files/workitems/1609008793542/job-1/jobpreparation",  
      "state": "completed",  
      "failureInfo": {  
        "category": "ServerError",  
        "code": "BlobDownloadMiscError",  
        "message": "Miscellaneous error encountered while downloading one of the specified Azure Blob(s)",  
        "details": [{  
            "name": "BlobSource",  
            "value": "https://ID.blob.core.windows.net/fgrp-input/test-2018/nash-2018/%21Baytak%2017-10-2020/Texture/Tiles/1636918543921-architecture_marble-slabs_white_slab-marble-thassos-white-texture-seamless-02588/18_slab%20marble%20Thassos%20white%20texture-seamless.jpg??&se=2020-12-26T20%3A53%3A32Z&sr=c&sp=rl&sig=6RQ%2F67JN2aohpA67avp8S0jGv6kTfi3Pmd9RwS%2FowdY%3D&sv=2015-07-08"  
          },  
          {  
            "name": "FilePath",  
            "value": "D:\\batch\\tasks\\workitems\\1609008793542\\job-1\\jobpreparation\\wd\\assets\\test-2018\\nash-2018\\!Baytak 17-10-2020\\Texture\\Tiles\\1636918543921-architecture_marble-slabs_white_slab-marble-thassos-white-texture-seamless-02588\\18_slab marble Thassos white texture-seamless.jpg"  
          },  
          {  
            "name": "Message",  
            "value": "FileIOException('Failed to allocate 433198 bytes for file D:\\\\batch\\\\tasks\\\\workitems\\\\1609008793542\\\\job-1\\\\jobpreparation\\\\wd\\\\assets\\\\test-2018\\\\nash-2018\\\\!Baytak 17-10-2020\\\\Texture\\\\Tiles\\\\1636918543921-architecture_marble-slabs_white_slab-marble-thassos-white-texture-seamless-02588\\\\18_slab marble Thassos white texture-seamless.jpg')"  
          }  
        ]  
      },  
      "result": "failure",  
      "retryCount": 0  
    }  
  }]  
}  

I tried to have only 1 directory that has all the related files in a 1 container with no success. It worked with another project before uploading this project.

Any idea what it is failing to allocate the file?

Azure Batch
Azure Batch
An Azure service that provides cloud-scale job scheduling and compute management.
302 questions
{count} votes