You might try setting a memory allocation for the asset canister. This would look something like this in dfx.json:
{
"canisters": {
"cosmiccrafts_assets": {
"type": "assets",
... other values
"initialization_values": {
"memory_allocation": "8GB"
}
}
}
}