QList icon indicating copy to clipboard operation
QList copied to clipboard

Maximum size of a queue

Open ashwinpromethean opened this issue 6 years ago • 2 comments

What is the maximum size of a queue defined ? Can we define a size ? What if the size exceeds more than the memory available on SRAM ?

ashwinpromethean avatar Jul 31 '18 15:07 ashwinpromethean

Hi, array size limit depends on size of RAM that chip has and object size that you store in array. If size exceeds more memory than available it will probably leed to undefined behaviour.

SloCompTech avatar Aug 02 '18 19:08 SloCompTech

How is array size relevant here? QList is a linked list without any heap or array usage. I'm generally wondering where the items are stored and why this appears to work. I don't think it should.

pogobanane avatar Nov 01 '20 14:11 pogobanane