Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ulan committed Dec 5, 2023
1 parent 9c26f32 commit a508e61
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,8 @@ This tutorial will cover the first two workflows. For more information on using

## Setting the reserved cycles limit

When a canister allocate storage bytes, the system may reserve some amount of cycles by moving them from the main cycles balance of the canister to the reserved cycles balance.
These reserved cycles are used for future storage payments as explained [here][../../../developer-docs/gas-cost#resource-reservation-mechanism].
When a canister allocates storage bytes, the system may reserve some amount of cycles by moving them from the main cycles balance of the canister to the reserved cycles balance.
These reserved cycles are used for future storage payments as explained [here](../../../developer-docs/gas-cost#resource-reservation-mechanism).

You can control the maximum amount of reserved cycles by setting the reserved cycles limit:

Expand All @@ -286,6 +286,8 @@ The error message might look like this:
Canister cannot grow memory by 65536 bytes due to its reserved cycles limit. The current limit (42) would be exceeded by 1000.
```

Such errors can be fixed by increasing the reserved cycles limit.


### Using ICP

Expand Down

0 comments on commit a508e61

Please sign in to comment.