stable-structures icon indicating copy to clipboard operation
stable-structures copied to clipboard

Attempting to allocate an already allocated chunk

Open aliscie opened this issue 10 months ago • 1 comments

https://share.descript.com/view/95vMYP6Ky3w

  • I found it it is size issue, I just delete some data and tried to store something and it was success.
  • Also two of my static have the same MemoryId::new(5) is it safe to update just one of them? or I could lose my data.
Image

read more here

aliscie avatar Feb 07 '25 09:02 aliscie

Hi, if you have written data to both structures, it is practically guaranteed that your data is corrupted.

michael-weigelt avatar Feb 07 '25 10:02 michael-weigelt