-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
I've noticed calling client:allFlags leads to greater memory usage that is never released, causing our openresty instances to eventually run out of memory and crash. This is reproducible with the following script
local ld = require("launchdarkly_server_sdk")
local config = {
key = SDK_KEY
}
local client = ld.clientInit(config, 1000)
local user = ld.makeUser({
key = "abc"
})
local flags
while (true) do
flags = client:allFlags(user)
end
The process just consumes more memory indefinitely.
Metadata
Metadata
Assignees
Labels
No labels