- Jun 6, 2020
- 11,559
- 4,422
Sorry... the out of memory was not caused by the allocation, but because i did a mistake....
but my questions are still valid:
How does B4A handle the memory consumption of arrays? I often ReDIM my main array inside a SUB. Until now I had no problems with this.
B4X:
As you see, I change the size of the array inside SUBs when receiving Bytes from Stream. Will this change the pointer? What will happen with the prior array content? Will this eat RAM, when I do it often?
Can I scan the remaining memory size to detect problems?
but my questions are still valid:
How does B4A handle the memory consumption of arrays? I often ReDIM my main array inside a SUB. Until now I had no problems with this.
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
Can I scan the remaining memory size to detect problems?
برای دیدن لینک ها باید ثبت نام کنید