memory allocation: heaplow: Out of memory #550
wmjenkinson
started this conversation in
Development
Replies: 4 comments 3 replies
-
I'm not aware of fundamental differences of memory allocation between RPi 4 and
5. Please note that memory blocks of over 512 KBytes size won't be reused by
default, when they were freed. You can dump the current allocation status with
CMemorySystem::Get()->DumpStatus() to the logger. Blocks over 512 KBytes size
are not included in this list.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello rsta2, for example, if I run this code the system will run out of memory!
|
Beta Was this translation helpful? Give feedback.
3 replies
-
How many buckets exist by default. Is there a max or is it dynamically linked list? |
Beta Was this translation helpful? Give feedback.
0 replies
-
There are 7 values in HEAP_BLOCK_BUCKET_SIZES by default, so 7 buckets. The
maximum is 20.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello rsta2, I developing the schedular on circle and I have a task that allocates using malloc/new. However it keeps running out of memory. I've checked and there are no leaks. The code was working before porting to the RPI5. Is there something I am missing here to do with memory allocation?
Beta Was this translation helpful? Give feedback.
All reactions