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
Is there a way to customize the heap memory size available for native code plugins tied in via the ruby FFI library ? This is what systemd tells me about the running service :
● fluentd.service - Fluentd
Loaded: loaded (/etc/systemd/system/fluentd.service; enabled; preset: enabled)
Active: active (running) since Fri 2024-06-21 02:56:59 EDT; 30min ago
Docs: https://www.fluentd.org/
Main PID: 487 (ruby)
Tasks: 9 (limit: 26212)
Memory: 92.0M
CPU: 5.403s
CGroup: /system.slice/fluentd.service
...
Now my plugin is written in C++ and would like to make use of STL containers but this leads to frequent crashes because the native code is unable to allocate heap memory for the containers.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
What is a problem?
Is there a way to customize the heap memory size available for native code plugins tied in via the ruby FFI library ? This is what systemd tells me about the running service :
Now my plugin is written in C++ and would like to make use of STL containers but this leads to frequent crashes because the native code is unable to allocate heap memory for the containers.
Describe the configuration of Fluentd
No response
Describe the logs of Fluentd
No response
Environment
Beta Was this translation helpful? Give feedback.
All reactions