Products | Versions |
---|---|
TIBCO Streaming | 10.6 and later |
After running for some time, my application is exhausting shared memory. I see the following messages in the Streaming console log:
Low memory warning: 90 % of shared memory in use for segment 0 2021-07-27 23:38:37.955000-0700 [427552:442480] ERROR com.tibco.ep.dtm.sharedmemory: (smalloc.cpp:634) Shared memory exhausted in shared memory file C:\nodes\A.sbuser\ossm when trying to allocate 33589080 bytes. You must shutdown the node, remove shared memory, and increase the shared memory size.
epadmin --servicename=<YourNodeName> enable statistics --statistics="eventbus,eventlog,hash,mutex,native,object,objectmemory"
epadmin --servicename=<YourNodeName> snapshot statistics --statistics="eventbus,eventlog,hash,mutex,native,object,objectmemory" --seconds=10 > stats1.txt