guohao15 commented on PR #12969:
URL: https://github.com/apache/nuttx/pull/12969#issuecomment-2295620268

   > You're trading stack usage for heap fragmentation. I disagree with this 
approach because once your heap is to fragmented `malloc` would simply fail and 
your system most likely crashes. if you really want it I propose you make an 
optional kconfig symbol called i.e. `dynamic path allocation`
   
   We can use LIBC_MAX_PATHBUFFER Kconfig  to optimise the useasge of this 
buffer, reduce the chance  that  system alloc memory form heap .


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to