Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak (especially in X server) #103

Open
wellenvogel opened this issue Oct 14, 2020 · 1 comment
Open

Memory leak (especially in X server) #103

wellenvogel opened this issue Oct 14, 2020 · 1 comment

Comments

@wellenvogel
Copy link

When the oensec_pi plugin closes a chart it creates a memory leak by not destroying the member m_pCloneBM of oSENCChart.
It seems that on the program side itself this leak is rather small but on the Xserver side it is 0.3MB (measured on an ubuntu bionic with Xvfb). So after long runs there is a chance that the Xserver starts to consume more and more memory - especially if the cache size is small and charts are frequently closed. This is especially a problem on systems with low memory (like the raspberry).
Deleting the member in the destructor solves the problem.
There still seem to be smaller leaks (factor 10 smaller) - but I did not investigate on them.

@bdbcat
Copy link
Owner

bdbcat commented Jan 16, 2021

Corrected in source, not yet released to catalog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants