Page 1 of 1

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

Posted: February 11th, 2017, 11:35 am
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.

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

Posted: February 12th, 2017, 12:56 pm
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.