It is currently March 28th, 2024, 3:42 pm

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

Share and get help with Plugins and Addons
Post Reply
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.
Attachments
openHWMPlugin.zip
(131.59 KiB) Downloaded 175 times
open hardware monitor_0.001.rmskin
(453.54 KiB) Downloaded 156 times
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.
Post Reply