FreeRTOS crashing when adding new queues
I'm not sure I follow this.  If the call to xQueueCreate() causes the system to crash, and xQueueCreate() is being called from main() before the scheduler has started, then it can't be the task stack size as the task is not running (and therefore its stack is not being used yet).

If it is crashing in the call to xQueueCreate() then simply step into the function in the debugger to see where it is crashing.  It might be that the C run-time is not set up correctly before main() is called.

Which version of FreeRTOS are you using?  It looks to be VERY old if you are using xQueueHandle instead of QueueHandle_t as the variable type.  If it is a moderately recent version and you think you may be running out of heap (seems extremely doubtful, if you create tasks after the queues and creating the tasks doesn't fail) then you can use a malloc failed hook (https://www.freertos.org/a00016.html ) which is a callback that will get executed if a memory allocation fails.