It is currently September 20th, 2020, 8:33 pm

Made a Open hardware monitor plugin but it has a memory leak.

Share and get help with Plugins and Addons
rosscoe
Posts: 2
Joined: February 11th, 2017, 11:23 am

Made a Open hardware monitor plugin but it has a memory leak.

Post by rosscoe »

Was wondering if anyone could have a look at the code i'm a bit stumped as to why it chews through ram slowly but surely.
It works with current OHM and rainmeter. doesn't require admin access and has a install made from rainmeter.

Looking for some help with it as i don't really understand what i'm doing.
Outside the memory leak it seems to work fine.

The source is in the empty part of the c++ folder was using the rainmeter SDK file structure.
You do not have the required permissions to view the files attached to this post.
rosscoe
Posts: 2
Joined: February 11th, 2017, 11:23 am

Re: Made a Open hardware monitor plugin but it has a memory leak.

Post by rosscoe »

Found the memory leak, the enumerator doesn't work as i expected it to.
in the process of modularizing the code from the massive slab that it currently is in the class. A lot of initial ground work will be done in the initialize phase off rainmakers initialize function.

Have minimized overhead, by using proper WQL query's that give a single result giving the ability to remove the loops altogether.