You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, this shared memory is used to store strings. How large should I set it to be appropriate?
If it is too large, it will face the issue of wasting memory resources. If users execute multiple lightweight terminal commands simultaneously, it will incur considerable overhead.
If it is too small, when obtaining lengthy terminal feedback, it may lead to buffer-overflow problems.
TODO
which value is better?
is there any other ways to set it ? like in constructor(), provided by users ?
The text was updated successfully, but these errors were encountered:
Description
I met an issue when reading from the shell-command:
I have implemented the sharing of terminal command feedback results among multiple processes using shared memory.
goes_popen/multi_process_manager/include/new_popen.hpp
Lines 43 to 46 in 95e93b9
However, this shared memory is used to store strings. How large should I set it to be appropriate?
TODO
The text was updated successfully, but these errors were encountered: